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)
commitc48300c92ad9f029f4dcbcf5d71ad880e3acf2fa
tree82d29fab90edbe03ec53f1f0106d39653c4f753c
parent9fd0e09a4e86499639653243edfcb417a05c5c46
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: 429711aec282 ("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