diff options
author | Liu Yuan <tailai.ly@taobao.com> | 2012-12-17 14:17:27 +0800 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2013-01-02 16:09:00 +0100 |
commit | d6b1ef89a1ede41334e4d0fa27e600e0b4d4f209 (patch) | |
tree | 43b373a43a03e51baf9701d41404a3153cd29a00 /block/sheepdog.c | |
parent | bd751f2204a03d6fcd47a4b4b12ac534d2ecbea7 (diff) |
sheepdog: pass oid directly to send_pending_req()
Cc: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>
Cc: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Liu Yuan <tailai.ly@taobao.com>
Reviewed-by: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'block/sheepdog.c')
-rw-r--r-- | block/sheepdog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/sheepdog.c b/block/sheepdog.c index b9186fb92b..e821746116 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: |