projects
/
h-e-n
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
block: move q->unplug_work initialization
[h-e-n]
/
block
/
blk-core.c
diff --git
a/block/blk-core.c
b/block/blk-core.c
index
8517264
..
fcbd56d
100644
(file)
--- a/
block/blk-core.c
+++ b/
block/blk-core.c
@@
-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);