diff options
author | Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org> | 2017-07-11 00:22:33 +0300 |
---|---|---|
committer | Radim Krčmář <rkrcmar@redhat.com> | 2017-07-12 23:38:26 +0300 |
commit | 949c033694864082db9b3f5304723a6d7407f8e2 (patch) | |
tree | 74924370cd355016240e1858987ea53c12f3ab63 /net/unix/af_unix.c | |
parent | 48ae0fb49b2e8380e60c5072f18005c8a98c6520 (diff) | |
download | linux-949c033694864082db9b3f5304723a6d7407f8e2.tar.xz |
KVM: s390: Fix KVM_S390_GET_CMMA_BITS ioctl definition
In case of KVM_S390_GET_CMMA_BITS, the kernel does not only read struct
kvm_s390_cmma_log passed from userspace (which constitutes _IOC_WRITE),
it also writes back a return value (which constitutes _IOC_READ) making
this an _IOWR ioctl instead of _IOW.
Fixes: 4036e387 ("KVM: s390: ioctls to get and set guest storage attributes")
Signed-off-by: Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions