block: add blk_queue_dead()
authorTejun Heo <tj@kernel.org>
Tue, 13 Dec 2011 23:33:37 +0000 (00:33 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 13 Dec 2011 23:33:37 +0000 (00:33 +0100)
commit34f6055c80285e4efb3f602a9119db75239744dc
treeeb05185976c1941d196d259c3dfc2a4cfa7469d1
parent1ba64edef6051d2ec79bb2fbd3a0c8f0df00ab55
block: add blk_queue_dead()

There are a number of QUEUE_FLAG_DEAD tests.  Add blk_queue_dead()
macro and use it.

This patch doesn't introduce any functional difference.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c
block/blk-exec.c
block/blk-sysfs.c
block/blk-throttle.c
block/blk.h
include/linux/blkdev.h