From patchwork Wed Dec 19 15:38:19 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [18/18] sheepdog: pass oid directly to send_pending_req() X-Patchwork-Submitter: Stefan Hajnoczi X-Patchwork-Id: 207425 Message-Id: <1355931499-7912-19-git-send-email-stefanha@redhat.com> To: Cc: Anthony Liguori Date: Wed, 19 Dec 2012 16:38:19 +0100 From: Stefan Hajnoczi List-Id: From: Liu Yuan Cc: MORITA Kazutaka Cc: Kevin Wolf Signed-off-by: Liu Yuan Reviewed-by: MORITA Kazutaka Signed-off-by: Stefan Hajnoczi --- block/sheepdog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block/sheepdog.c b/block/sheepdog.c index ef7bc81..ceabc00 100644 --- a/block/sheepdog.c +++ b/block/sheepdog.c @@ -724,7 +724,7 @@ static void coroutine_fn aio_read_response(void *opaque) * create requests are not allowed, so we search the * pending requests here. */ - send_pending_req(s, vid_to_data_oid(s->inode.vdi_id, idx)); + send_pending_req(s, aio_req->oid); } break; case AIOCB_READ_UDATA: