Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 147067
b: refs/heads/master
c: c143dc9
h: refs/heads/master
i:
  147065: ba7645b
  147063: f6e65d1
v: v3
  • Loading branch information
James Bottomley authored and Jens Axboe committed May 30, 2009
1 parent b387895 commit f316109
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 5d85d3247cc3555215d7d11c78576a396c98e4d9
refs/heads/master: c143dc903d7c0b15f5052e00b2c7de33a8b4299c
5 changes: 5 additions & 0 deletions trunk/block/blk-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1789,6 +1789,11 @@ struct request *blk_peek_request(struct request_queue *q)
break;
} else if (ret == BLKPREP_KILL) {
rq->cmd_flags |= REQ_QUIET;
/*
* Mark this request as started so we don't trigger
* any debug logic in the end I/O path.
*/
blk_start_request(rq);
__blk_end_request_all(rq, -EIO);
} else {
printk(KERN_ERR "%s: bad return=%d\n", __func__, ret);
Expand Down

0 comments on commit f316109

Please sign in to comment.