commit | 713ada9ba94f2ad874cffd074b83e3dc681ca82f | [log] [tgz] |
---|---|---|
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | Thu Oct 16 13:44:57 2008 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Fri Oct 17 08:46:57 2008 +0200 |
tree | e94cae4cb7d6d8bee404feb869bceee74b402f93 | |
parent | 0997f1c5fec0b540784611036d458a84a1f7029a [diff] |
block: move q->unplug_work initialization modprobe loop; rmmod loop effectively creates a blk_queue and destroys it which results in q->unplug_work being canceled without it ever being initialized. Therefore, move the initialization of q->unplug_work from blk_queue_make_request() to blk_alloc_queue*(). Reported-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>