block: remove bdput
authorChristoph Hellwig <hch@lst.de>
Thu, 22 Jul 2021 07:54:02 +0000 (09:54 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 2 Aug 2021 19:37:28 +0000 (13:37 -0600)
commit2f4731dcd0bb73379fbb9e3eb07ae7324125caef
tree2b1a971a15bd396fd97d2fdc7c2a2b2a7848e0d6
parent14cf1dbb55bb07427babee425fd2a8a9300737cc
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>
Reviewed-by: Chaitanya Kulkarni <ckulkarnilinux@gmail.com>
Link: https://lore.kernel.org/r/20210722075402.983367-10-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/genhd.c
block/partitions/core.c
fs/block_dev.c
include/linux/blkdev.h