Skip to content

Commit 2b17d9f

Browse files
committed
Revert "virtio-blk: don't let virtio core to validate used length"
This reverts commit a40392e. Attempts to validate length in the core did not work out. We'll drop them, so revert the dependent changes in drivers. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
1 parent 6318cb8 commit 2b17d9f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/block/virtio_blk.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1049,7 +1049,6 @@ static struct virtio_driver virtio_blk = {
10491049
.feature_table_size = ARRAY_SIZE(features),
10501050
.feature_table_legacy = features_legacy,
10511051
.feature_table_size_legacy = ARRAY_SIZE(features_legacy),
1052-
.suppress_used_validation = true,
10531052
.driver.name = KBUILD_MODNAME,
10541053
.driver.owner = THIS_MODULE,
10551054
.id_table = id_table,

0 commit comments

Comments
 (0)