diff options
| author | 2020-04-14 09:29:02 +0200 | |
|---|---|---|
| committer | 2020-04-20 11:33:00 -0600 | |
| commit | 9bc5c397d8384b50c8202f4400bf2f87fe8291d9 (patch) | |
| tree | 2181eea4b9dcafc856d56d7b70e133ef8a353f4a /include/linux/blkdev.h | |
| parent | block: mark invalidate_partition static (diff) | |
| download | linux-dev-9bc5c397d8384b50c8202f4400bf2f87fe8291d9.tar.xz linux-dev-9bc5c397d8384b50c8202f4400bf2f87fe8291d9.zip | |
block: fold bdev_unhash_inode into invalidate_partition
invalidate_partition and bdev_unhash_inode are always paired, and
invalidate_partition already does an icache lookup for the block device
inode. Piggy back on that to remove the inode from the hash.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/blkdev.h')
0 files changed, 0 insertions, 0 deletions
