]> 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)
commitb829c5d9ab6f44e03ae18e6e87accf5e06e73dd2
tree2b1a971a15bd396fd97d2fdc7c2a2b2a7848e0d6
parent8420cd0bcc5b1ab2ba691f3efe0acf7bf323622b
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