Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 273838
b: refs/heads/master
c: d11e615
h: refs/heads/master
v: v3
  • Loading branch information
Konrad Rzeszutek Wilk committed Oct 13, 2011
1 parent b615af5 commit 7587344
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 8e6dc6fe51957116d363204a725c1262b4b78e19
refs/heads/master: d11e6158307bed3f178399a4e6216eec67d16200
4 changes: 3 additions & 1 deletion trunk/drivers/block/xen-blkfront.c
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,9 @@ static void do_blkif_request(struct request_queue *rq)

blk_start_request(req);

if (req->cmd_type != REQ_TYPE_FS) {
if ((req->cmd_type != REQ_TYPE_FS) ||
((req->cmd_flags & (REQ_FLUSH | REQ_FUA)) &&
!info->flush_op)) {
__blk_end_request_all(req, -EIO);
continue;
}
Expand Down

0 comments on commit 7587344

Please sign in to comment.