diff options
author | Christoph Hellwig <hch@lst.de> | 2021-03-08 08:45:50 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-03-29 07:02:56 -0600 |
commit | 0f00b82e5413571ed225ddbccad6882d7ea60bc7 (patch) | |
tree | ec9b8ad6317e769191c8d012aa6f8cf703c814d2 /fs/block_dev.c | |
parent | 4bae7afdd789baedbc0b82a4b9ef51501dd7d4fe (diff) | |
download | linux-0f00b82e5413571ed225ddbccad6882d7ea60bc7.tar.gz linux-0f00b82e5413571ed225ddbccad6882d7ea60bc7.tar.bz2 linux-0f00b82e5413571ed225ddbccad6882d7ea60bc7.zip |
block: remove the revalidate_disk method
No implementations left.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20210308074550.422714-4-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/block_dev.c')
-rw-r--r-- | fs/block_dev.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/block_dev.c b/fs/block_dev.c index 92ed7d5df677..535d29fa06fa 100644 --- a/fs/block_dev.c +++ b/fs/block_dev.c @@ -1259,9 +1259,6 @@ rescan: if (disk_part_scan_enabled(disk) || !(disk->flags & GENHD_FL_REMOVABLE)) set_capacity(disk, 0); - } else { - if (disk->fops->revalidate_disk) - disk->fops->revalidate_disk(disk); } if (get_capacity(disk)) { |