summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_ioctl.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-01-08 00:25:39 +0100
committerDarrick J. Wong <darrick.wong@oracle.com>2020-01-09 19:55:18 +0100
commit780d29057781d986cd87dbbe232cd02876ad430f (patch)
treed4e9b2b48e7679baf585ceaccf0d46c8d172bf69 /fs/xfs/xfs_ioctl.c
parentxfs: also remove cached ACLs when removing the underlying attr (diff)
downloadlinux-780d29057781d986cd87dbbe232cd02876ad430f.tar.xz
linux-780d29057781d986cd87dbbe232cd02876ad430f.zip
xfs: fix misuse of the XFS_ATTR_INCOMPLETE flag
XFS_ATTR_INCOMPLETE is a flag in the on-disk attribute format, and thus in a different namespace as the ATTR_* flags in xfs_da_args.flags. Switch to using a XFS_DA_OP_INCOMPLETE flag in op_flags instead. Without this users might be able to inject this flag into operations using the attr by handle ioctl. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/xfs_ioctl.c')
0 files changed, 0 insertions, 0 deletions