diff options
| author | Christoph Hellwig <[email protected]> | 2021-07-22 09:54:01 +0200 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2021-08-02 13:37:28 -0600 |
| commit | 14cf1dbb55bb07427babee425fd2a8a9300737cc (patch) | |
| tree | f5803e1069548c98e4dccb3087606569605e5916 /include/linux | |
| parent | 4b2731226d7de4302e4d8766c86e3a21c56dc3b1 (diff) | |
block: remove bdgrab
All callers are gone, and no one should grab a pure inode reference to
a block device anymore.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Josef Bacik <[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 d3afea47ade6..eb1289a58917 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); -struct block_device *bdgrab(struct block_device *bdev); void bdput(struct block_device *); int truncate_bdev_range(struct block_device *bdev, fmode_t mode, loff_t lstart, loff_t lend); |