diff options
author | Christoph Hellwig <hch@lst.de> | 2020-11-16 15:56:55 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-11-16 16:34:14 +0100 |
commit | b200e38c493b2a5acff4f86d40a3e45d546c664c (patch) | |
tree | 5c0a1fa77c5cc9d1d10ddd061cc962a119ce0905 /block | |
parent | nvme: let set_capacity_revalidate_and_notify update the bdev size (diff) | |
download | linux-b200e38c493b2a5acff4f86d40a3e45d546c664c.tar.xz linux-b200e38c493b2a5acff4f86d40a3e45d546c664c.zip |
sd: update the bdev size in sd_revalidate_disk
This avoids the extra call to revalidate_disk_size in sd_rescan and
is otherwise a no-op because the size did not change, or we are in
the probe path.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Acked-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions