]> www.infradead.org Git - users/hch/block.git/commit
block: remove bdput bdev-lookup-fix.2
authorChristoph Hellwig <hch@lst.de>
Thu, 22 Jul 2021 05:10:58 +0000 (07:10 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 22 Jul 2021 13:23:47 +0000 (15:23 +0200)
commitf6645bb61a716896976e3bb3cb47d1b42a7d97d1
tree2748648c700aaac9bf8b476de3442126cd17fd8d
parent4d3f9b73d5e1893f0255216b06cbf3757b3a3f82
block: remove bdput

Now that we've stopped using inode references for anything meaninful
in the block layer get rid of the helper to put it and just open code
the call to iput on the block_device inode.

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