diff options
author | 2011-12-14 00:33:37 +0100 | |
---|---|---|
committer | 2011-12-14 00:33:37 +0100 | |
commit | 8ba61435d73f2274e12d4d823fde06735e8f6a54 (patch) | |
tree | 4b63993dc0fdc26918bd990fb47a142b8d24ef80 /kernel | |
parent | block: fix drain_all condition in blk_drain_queue() (diff) | |
download | wireguard-linux-8ba61435d73f2274e12d4d823fde06735e8f6a54.tar.xz wireguard-linux-8ba61435d73f2274e12d4d823fde06735e8f6a54.zip |
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 <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions