]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Jun 2019 03:35:52 +0000 (11:35 +0800)
commitd6623379d895db1cfd111469e6872b39839c91b1
tree8fc4a81d97f13de998766e442d6134321174c47b
parent3cb5d7fa8f7db47cf4c0016df87c7589474ed09b
ovl: fix wrong flags check in FS_IOC_FS[SG]ETXATTR ioctls

[ Upstream commit 941d935ac7636911a3fd8fa80e758e52b0b11e20 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/overlayfs/file.c