virtio-blk: don't let virtio core to validate used length
authorJason Wang <jasowang@redhat.com>
Wed, 27 Oct 2021 02:21:06 +0000 (10:21 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 1 Nov 2021 09:26:48 +0000 (05:26 -0400)
commita40392edf1b2c7822bc0ce68413106661a9d4232
treeba59d7eb0a700b312664868de5fe499a40172d71
parent816625c13652cef5b2c49082d652875da6f2ad7a
virtio-blk: don't let virtio core to validate used length

We never tries to use used length, so the patch prevents the virtio
core from validating used length.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Link: https://lore.kernel.org/r/20211027022107.14357-4-jasowang@redhat.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/block/virtio_blk.c