diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2021-11-24 18:44:09 -0500 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2021-11-24 18:47:17 -0500 |
commit | 2b17d9f84884a37f1324be5526c6600e97a47fbe (patch) | |
tree | 25b08cb91f9a97e908800b4be7a6d1ed2e3936d7 /drivers | |
parent | 6318cb887548c70778d10c0fcb7134b4454ab8a6 (diff) | |
download | linux-stable-2b17d9f84884a37f1324be5526c6600e97a47fbe.tar.gz linux-stable-2b17d9f84884a37f1324be5526c6600e97a47fbe.tar.bz2 linux-stable-2b17d9f84884a37f1324be5526c6600e97a47fbe.zip |
Revert "virtio-blk: don't let virtio core to validate used length"
This reverts commit a40392edf1b2c7822bc0ce68413106661a9d4232.
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/block/virtio_blk.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/block/virtio_blk.c b/drivers/block/virtio_blk.c index 97bf051a50ce..1a1b1189225d 100644 --- a/drivers/block/virtio_blk.c +++ b/drivers/block/virtio_blk.c @@ -1049,7 +1049,6 @@ static struct virtio_driver virtio_blk = { .feature_table_size = ARRAY_SIZE(features), .feature_table_legacy = features_legacy, .feature_table_size_legacy = ARRAY_SIZE(features_legacy), - .suppress_used_validation = true, .driver.name = KBUILD_MODNAME, .driver.owner = THIS_MODULE, .id_table = id_table, |