diff options
author | Christoph Hellwig <hch@lst.de> | 2020-09-25 18:06:18 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-10-05 18:38:33 +0200 |
commit | 10ed16662da9e28a33b6c991c36c6b323b03dd5b (patch) | |
tree | 18e9b39f3f6eb5528a33567258782a20c96384c0 /block/blk-crypto.c | |
parent | drbd: remove ->this_bdev (diff) | |
download | linux-10ed16662da9e28a33b6c991c36c6b323b03dd5b.tar.xz linux-10ed16662da9e28a33b6c991c36c6b323b03dd5b.zip |
block: add a bdget_part helper
All remaining callers of bdget() outside of fs/block_dev.c want to get a
reference to the struct block_device for a given struct hd_struct. Add
a helper just for that and then mark bdget static.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-crypto.c')
0 files changed, 0 insertions, 0 deletions