ovl: fix wrong flags check in FS_IOC_FS[SG]ETXATTR ioctls
authorAmir Goldstein <amir73il@gmail.com>
Tue, 11 Jun 2019 15:09:28 +0000 (18:09 +0300)
committerMiklos Szeredi <mszeredi@redhat.com>
Tue, 11 Jun 2019 15:17:41 +0000 (17:17 +0200)
commit941d935ac7636911a3fd8fa80e758e52b0b11e20
tree54fdae5004d26421871f47ef8980bb334dd25bdf
parentd1fdb6d8f6a4109a4263176c84b899076a5f8008
ovl: fix wrong flags check in FS_IOC_FS[SG]ETXATTR ioctls

The ioctl argument was parsed as the wrong type.

Fixes: b21d9c435f93 ("ovl: support the FS_IOC_FS[SG]ETXATTR ioctls")
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/overlayfs/file.c