[PATCH 2.6.32 1/7] block: add missing blk_queue_dead() checks

2014-12-07 Thread Ben Hutchings
From: Tejun Heo commit 8ba61435d73f2274e12d4d823fde06735e8f6a54 upstream. 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 q

[PATCH 2.6.32 1/7] block: add missing blk_queue_dead() checks

2014-12-07 Thread Ben Hutchings
From: Tejun Heo commit 8ba61435d73f2274e12d4d823fde06735e8f6a54 upstream. 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 q