diff options
| author | Christoph Hellwig <[email protected]> | 2021-07-22 09:54:02 +0200 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2021-08-02 13:37:28 -0600 |
| commit | 2f4731dcd0bb73379fbb9e3eb07ae7324125caef (patch) | |
| tree | 2b1a971a15bd396fd97d2fdc7c2a2b2a7848e0d6 /include/linux | |
| parent | 14cf1dbb55bb07427babee425fd2a8a9300737cc (diff) | |
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 <[email protected]>
Reviewed-by: Josef Bacik <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/blkdev.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index eb1289a58917..b5c033cf5f26 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h @@ -1984,7 +1984,6 @@ void blkdev_put_no_open(struct block_device *bdev); struct block_device *bdev_alloc(struct gendisk *disk, u8 partno); void bdev_add(struct block_device *bdev, dev_t dev); struct block_device *I_BDEV(struct inode *inode); -void bdput(struct block_device *); int truncate_bdev_range(struct block_device *bdev, fmode_t mode, loff_t lstart, loff_t lend); |