]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: improve xfs_forget_acl
authorChristoph Hellwig <hch@lst.de>
Thu, 27 Feb 2020 01:30:41 +0000 (17:30 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 3 Mar 2020 04:55:55 +0000 (20:55 -0800)
commitf18f1f7f3d116d4dd6a8bd29493e781d351f45ff
tree9df5508abb02805575ac1b9be4a06bc59a8c0971
parentc2e6d43c99761a79caf18c9caf7ac3e273fbd9d6
xfs: improve xfs_forget_acl

Move the function to xfs_acl.c and provide a proper stub for the
!CONFIG_XFS_POSIX_ACL case.  Lift the flags check to the caller as it
nicely fits in there.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Chandan Rajendra <chandanrlinux@gmail.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_acl.c
fs/xfs/xfs_acl.h
fs/xfs/xfs_ioctl.c
fs/xfs/xfs_xattr.c