[PATCH 2/2] xfs: invalidate cached acl if set via ioctl

Dave Chinner david at fromorbit.com
Mon Nov 2 20:12:32 CST 2015


On Mon, Nov 02, 2015 at 08:52:54PM +0100, Andreas Gruenbacher wrote:
> Setting or removing the "SGI_ACL_[FILE|DEFAULT]" attributes via the
> XFS_IOC_ATTRMULTI_BY_HANDLE ioctl completely bypasses the POSIX ACL
> infrastructure, like setting the "trusted.SGI_ACL_[FILE|DEFAULT]" xattrs
> did until commit 6caa1056.  Similar to that commit, invalidate cached
> acls when setting/removing them via the ioctl as well.
> 
> Signed-off-by: Andreas Gruenbacher <agruenba at redhat.com>

Thanks, Andreas. I've pulled the fixes in. I updated the original
patch with the fix in patch 1, and applied this patch. I'll push out
a rebased for-next branch after some further testing...

Cheers,

Dave.
-- 
Dave Chinner
david at fromorbit.com



More information about the xfs mailing list