]> 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)
commit124bb2f8fb94ca8961bb42347bf37ff264c01ac3
tree82d29fab90edbe03ec53f1f0106d39653c4f753c
parent6416642e98df5b543adad2e037ac9b7fb090d9b7
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: 42364e0cec18 ("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