]> www.infradead.org Git - users/hch/block.git/commit
block: remove bdget/bdput bdev-lookup-fix
authorChristoph Hellwig <hch@lst.de>
Tue, 20 Jul 2021 10:46:13 +0000 (12:46 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 21 Jul 2021 06:32:07 +0000 (08:32 +0200)
commit685f3ea44bd95b2d2fc15532cd750f89c8b4329b
tree1bf4d6d75e7e8c38188795c0ed98486938536545
parent4e8caaa2ef60d9c05ec8f7a1aae94a8bef627db3
block: remove bdget/bdput

Now that we've stopped using inode references for anything meaninful
in the block layer get rid of the helpers for it and just open code
the places that look up a block device by dev_t and drop the main
inode reference held by the device model.

Signed-off-by: Christoph Hellwig <hch@lst.de>
block/genhd.c
block/partitions/core.c
fs/block_dev.c
include/linux/blkdev.h