Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 273842
b: refs/heads/master
c: 64391b2
h: refs/heads/master
v: v3
  • Loading branch information
Konrad Rzeszutek Wilk committed Oct 13, 2011
1 parent 8e25fbc commit 1f22800
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5c62cb48602dba95159c81ffeca179d3852e25be
refs/heads/master: 64391b2536ca92f9c589b2bfeaca3954896fe057
3 changes: 1 addition & 2 deletions trunk/drivers/block/xen-blkback/blkback.c
Original file line number Diff line number Diff line change
Expand Up @@ -707,8 +707,7 @@ static int dispatch_rw_block_io(struct xen_blkif *blkif,
* the hypercall to unmap the grants - that is all done in
* xen_blkbk_unmap.
*/
if (operation != BLKIF_OP_DISCARD &&
xen_blkbk_map(req, pending_req, seg))
if (operation == REQ_DISCARD && xen_blkbk_map(req, pending_req, seg))
goto fail_flush;

/*
Expand Down

0 comments on commit 1f22800

Please sign in to comment.