summaryrefslogtreecommitdiff
path: root/block/blk-wbt.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-08-09 16:17:42 +0200
committerJens Axboe <axboe@kernel.dk>2021-08-09 11:52:28 -0600
commit1008162b2782a3624d12b0aee8da58bc75d12e19 (patch)
treecd166a1e0733ad08e919c27f9cce0ceb21c643ad /block/blk-wbt.c
parent471aa704db4904f7af5a50019ca3b5b018c0cf62 (diff)
block: add a queue_has_disk helper
Add a helper to check if a gendisk is associated with a request_queue. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Jan Kara <jack@suse.cz> Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Link: https://lore.kernel.org/r/20210809141744.1203023-4-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-wbt.c')
0 files changed, 0 insertions, 0 deletions