diff options
author | Christoph Hellwig <hch@lst.de> | 2022-03-30 07:29:06 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-04-18 06:54:09 -0600 |
commit | dbdc1be32591af023db2812706f01e6cd2f42bfc (patch) | |
tree | ecdb59b4ebcdc9bb0f1eea5e086aa9ea0e3c733f /block/bdev.c | |
parent | 7a86d6dc1493326feb0d3ce5af2f34401dd3defa (diff) |
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