summaryrefslogtreecommitdiffstats
path: root/block/blk.h
diff options
context:
space:
mode:
authorBart Van Assche2012-11-28 13:43:38 +0100
committerJens Axboe2012-12-06 14:30:59 +0100
commit807592a4fafba1fea6e98b9cf1fb02b7c38fb24c (patch)
tree663e227bd15b6abacd2439c1c4cdfd42ec95e493 /block/blk.h
parentblock: Rename queue dead flag (diff)
downloadkernel-qcow2-linux-807592a4fafba1fea6e98b9cf1fb02b7c38fb24c.tar.gz
kernel-qcow2-linux-807592a4fafba1fea6e98b9cf1fb02b7c38fb24c.tar.xz
kernel-qcow2-linux-807592a4fafba1fea6e98b9cf1fb02b7c38fb24c.zip
block: Let blk_drain_queue() caller obtain the queue lock
Let the caller of blk_drain_queue() obtain the queue lock to improve readability of the patch called "Avoid that request_fn is invoked on a dead queue". Signed-off-by: Bart Van Assche <bvanassche@acm.org> Acked-by: Tejun Heo <tj@kernel.org> Cc: James Bottomley <JBottomley@Parallels.com> Cc: Mike Christie <michaelc@cs.wisc.edu> Cc: Jens Axboe <axboe@kernel.dk> Cc: Chanho Min <chanho.min@lge.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk.h')
0 files changed, 0 insertions, 0 deletions