]> git.baikalelectronics.ru Git - kernel.git/commit
vhost: fix VHOST_GET_BACKEND_FEATURES ioctl request definition
authorGleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
Mon, 3 Sep 2018 17:59:13 +0000 (20:59 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Sep 2018 04:23:24 +0000 (21:23 -0700)
commit30e30f915e8b7ee9c877a24c166088f55a5e71a3
tree82d29fab90edbe03ec53f1f0106d39653c4f753c
parentfdbf31f35c750ac87ec904d934c7adbdf7e6d34b
vhost: fix VHOST_GET_BACKEND_FEATURES ioctl request definition

The _IOC_READ flag fits this ioctl request more because this request
actually only writes to, but doesn't read from userspace.
See NOTEs in include/uapi/asm-generic/ioctl.h for more information.

Fixes: e376e1d85adf ("vhost: switch to use new message format")
Signed-off-by: Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
Acked-by: Jason Wang <jasowang@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/vhost.h