Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 251236
b: refs/heads/master
c: 6fd17b5
h: refs/heads/master
v: v3
  • Loading branch information
Konrad Rzeszutek Wilk committed Apr 18, 2011
1 parent 74fd568 commit 95b9a8c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e93504933ee6982bdc005fa5c24e1ea330faaf8b
refs/heads/master: 6fd17b5643bf05c29fc226a5aee96328056fca10
3 changes: 3 additions & 0 deletions trunk/drivers/xen/blkback/blkback.c
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,9 @@ static void dispatch_rw_block_io(struct blkif_st *blkif,
goto fail_response;
}
}
q = bdev_get_queue(preq.bdev);
if (!q)
goto fail_response;
/* If we have failed at this point, we need to undo the M2P override,
* set gnttab_set_unmap_op on all of the grant references and perform
* the hypercall to unmap the grants - that is all done in
Expand Down

0 comments on commit 95b9a8c

Please sign in to comment.