History

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.

Christoph Hellwig committed 5 years ago

Commit 2f4731d1 parent 14cf1db4 files · +3 −10Browse files

Showing the changes to include/linux/blkdev.h (1 of 4 files). Show all

Unified · Split

include/linux/blkdev.h+0−1
@@ -1984,7 +1984,6 @@ void blkdev_put_no_open(struct block_device *bdev); · 1983 unmodified lines
19841984 struct block_device *bdev_alloc(struct gendisk *disk, u8 partno);
19851985 void bdev_add(struct block_device *bdev, dev_t dev);
19861986 struct block_device *I_BDEV(struct inode *inode);
1987−void bdput(struct block_device *);
19881987 int truncate_bdev_range(struct block_device *bdev, fmode_t mode, loff_t lstart,
19891988 loff_t lend);
19901989