From: Peter Zijlstra Date: Thu, 16 Oct 2008 11:44:57 +0000 (+0200) Subject: block: move q->unplug_work initialization X-Git-Tag: v2.6.28-rc1~261^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=713ada9ba94f2ad874cffd074b83e3dc681ca82f;p=pandora-kernel.git 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 Signed-off-by: Peter Zijlstra Signed-off-by: Jens Axboe --- Reading git-diff-tree failed