]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit995fcc331bd87243f1a03bd44a98736f9b561b20
treeba59d7eb0a700b312664868de5fe499a40172d71
parent07cf4623fbc9a67cc973fd7292adeb906b499688
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