]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit92d3dec4fb790d625fed0126f7ed87656732ff85
tree2b1a971a15bd396fd97d2fdc7c2a2b2a7848e0d6
parentbc5152f09e6d87fe54dce10fa7ac344294ee5089
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