commit | 953aa9d136f53e226448dbd801a905c28f8071bf | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Tue Jan 07 15:25:37 2020 -0800 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Thu Jan 09 10:55:18 2020 -0800 |
tree | 1a5df80de0c912b38da8efc3ddd600e02cf31563 | |
parent | 5a57c05b56b6eb2b4e3eb2a9f205e39e849325a1 [diff] |
xfs: clear kernel only flags in XFS_IOC_ATTRMULTI_BY_HANDLE Don't allow passing arbitrary flags as they change behavior including memory allocation that the call stack is not prepared for. Fixes: ddbca70cc45c ("xfs: allocate xattr buffer on demand") 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>