diff --git a/drivers/block/virtio_blk.c b/drivers/block/virtio_blk.c index c4a60badf252caee7bffff38cc0cf115d0bd81a4..0e4ef3de9d5deb6fab10c5ef0fb5678ec610a3be 100644 --- a/drivers/block/virtio_blk.c +++ b/drivers/block/virtio_blk.c @@ -351,6 +351,7 @@ static void virtblk_config_changed_work(struct work_struct *work) cap_str_10, cap_str_2); set_capacity(vblk->disk, capacity); + revalidate_disk(vblk->disk); done: mutex_unlock(&vblk->config_lock); }