Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 147064
b: refs/heads/master
c: ba396a6
h: refs/heads/master
v: v3
  • Loading branch information
James Bottomley authored and Jens Axboe committed May 27, 2009
1 parent f6e65d1 commit 55f608f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 3b77f777b8f1c001b63e317c4ce317292ff0ff94
refs/heads/master: ba396a6c104682dfe5c8b4fbbf5974d5ac9f3687
8 changes: 4 additions & 4 deletions trunk/block/blk-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -956,15 +956,15 @@ EXPORT_SYMBOL(blk_make_request);
*/
void blk_requeue_request(struct request_queue *q, struct request *rq)
{
BUG_ON(blk_queued_rq(rq));

blk_delete_timer(rq);
blk_clear_rq_complete(rq);
trace_block_rq_requeue(q, rq);

if (blk_rq_tagged(rq))
blk_queue_end_tag(q, rq);

BUG_ON(blk_queued_rq(rq));

elv_requeue_request(q, rq);
}
EXPORT_SYMBOL(blk_requeue_request);
Expand Down Expand Up @@ -2042,11 +2042,11 @@ static bool blk_update_bidi_request(struct request *rq, int error,
*/
static void blk_finish_request(struct request *req, int error)
{
BUG_ON(blk_queued_rq(req));

if (blk_rq_tagged(req))
blk_queue_end_tag(req->q, req);

BUG_ON(blk_queued_rq(req));

if (unlikely(laptop_mode) && blk_fs_request(req))
laptop_io_completion();

Expand Down

0 comments on commit 55f608f

Please sign in to comment.