aboutsummaryrefslogtreecommitdiff
path: root/block/bdev.c
diff options
context:
space:
mode:
authorGravatar Christoph Hellwig <hch@lst.de> 2022-03-30 07:29:06 +0200
committerGravatar Jens Axboe <axboe@kernel.dk> 2022-04-18 06:54:09 -0600
commitdbdc1be32591af023db2812706f01e6cd2f42bfc (patch)
treeecdb59b4ebcdc9bb0f1eea5e086aa9ea0e3c733f /block/bdev.c
parentzram: cleanup zram_remove (diff)
downloadlinux-dbdc1be32591af023db2812706f01e6cd2f42bfc.tar.gz
linux-dbdc1be32591af023db2812706f01e6cd2f42bfc.tar.bz2
linux-dbdc1be32591af023db2812706f01e6cd2f42bfc.zip
block: add a disk_openers helper
Add a helper that returns the openers for a given gendisk to avoid having drivers poke into disk->part0 to get at this information in a somewhat cumbersome way. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Jan Kara <jack@suse.cz> Link: https://lore.kernel.org/r/20220330052917.2566582-5-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/bdev.c')
0 files changed, 0 insertions, 0 deletions