From: Tejun Heo Date: Tue, 13 Dec 2011 23:33:37 +0000 (+0100) Subject: block: add missing blk_queue_dead() checks X-Git-Tag: v3.3-rc1~49^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ba61435d73f2274e12d4d823fde06735e8f6a54;p=pandora-kernel.git block: add missing blk_queue_dead() checks blk_insert_cloned_request(), blk_execute_rq_nowait() and blk_flush_plug_list() either didn't check whether the queue was dead or did it without holding queue_lock. Update them so that dead state is checked while holding queue_lock. AFAICS, this plugs all holes (requeue doesn't matter as the request is transitioning atomically from in_flight to queued). Signed-off-by: Tejun Heo Signed-off-by: Jens Axboe --- Reading git-diff-tree failed