Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 123274
b: refs/heads/master
c: 70ed28b
h: refs/heads/master
v: v3
  • Loading branch information
Jens Axboe committed Dec 29, 2008
1 parent 85e7d8a commit 588bc66
Show file tree
Hide file tree
Showing 3 changed files with 2 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: 65d3618ccfe686e8d7b3f01a838d0578182406df
refs/heads/master: 70ed28b92a786f44750ab64117b03d126dd14656
1 change: 1 addition & 0 deletions trunk/block/blk-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,7 @@ EXPORT_SYMBOL(blk_stop_queue);
void blk_sync_queue(struct request_queue *q)
{
del_timer_sync(&q->unplug_timer);
del_timer_sync(&q->timeout);
kblockd_flush_work(&q->unplug_work);
}
EXPORT_SYMBOL(blk_sync_queue);
Expand Down
4 changes: 0 additions & 4 deletions trunk/block/blk-timeout.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,7 @@ ssize_t part_timeout_store(struct device *dev, struct device_attribute *attr,
*/
void blk_delete_timer(struct request *req)
{
struct request_queue *q = req->q;

list_del_init(&req->timeout_list);
if (list_empty(&q->timeout_list))
del_timer(&q->timeout);
}

static void blk_rq_timed_out(struct request *req)
Expand Down

0 comments on commit 588bc66

Please sign in to comment.