@@ -982,6 +1075,9 @@ static void __end_block_io_op(struct pending_req *pending_req, int error) * the grant references associated with 'request' and provide * the proper response on the ring. */ + if (atomic_dec_and_test(&pending_req->pendcnt)) + xen_blkbk_unmap_and_respond(pending_req); + if (atomic_dec_and_test(&pending_req->pendcnt)) {
Didn't code in this block go into xen_blkbk_unmap_and_respond_callback() and so it needs to be removed here?
-boris
struct xen_blkif *blkif = pending_req->blkif;
_______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel