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>
This commit is contained in:
parent
bd751f2204
commit
d6b1ef89a1
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user