Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 115490
b: refs/heads/master
c: 713ada9
h: refs/heads/master
v: v3
  • Loading branch information
Peter Zijlstra authored and Jens Axboe committed Oct 17, 2008
1 parent 171ace8 commit ef66d3c
Show file tree
Hide file tree
Showing 3 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: 0997f1c5fec0b540784611036d458a84a1f7029a
refs/heads/master: 713ada9ba94f2ad874cffd074b83e3dc681ca82f
1 change: 1 addition & 0 deletions trunk/block/blk-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,7 @@ struct request_queue *blk_alloc_queue_node(gfp_t gfp_mask, int node_id)
init_timer(&q->unplug_timer);
setup_timer(&q->timeout, blk_rq_timed_out_timer, (unsigned long) q);
INIT_LIST_HEAD(&q->timeout_list);
INIT_WORK(&q->unplug_work, blk_unplug_work);

kobject_init(&q->kobj, &blk_queue_ktype);

Expand Down
2 changes: 0 additions & 2 deletions trunk/block/blk-settings.c
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,6 @@ void blk_queue_make_request(struct request_queue *q, make_request_fn *mfn)
if (q->unplug_delay == 0)
q->unplug_delay = 1;

INIT_WORK(&q->unplug_work, blk_unplug_work);

q->unplug_timer.function = blk_unplug_timeout;
q->unplug_timer.data = (unsigned long)q;

Expand Down

0 comments on commit ef66d3c

Please sign in to comment.