Message ID | 170404841232.1756905.15803071363377442128.stgit@frogsfrogsfrogs (mailing list archive) |
---|---|
State | Superseded, archived |
Headers | show |
Series | [01/18] xfs: Expose init_xattrs in xfs_create_tmpfile | expand |
diff --git a/fs/xfs/xfs_xattr.c b/fs/xfs/xfs_xattr.c index 12405e4a70c1b..483685dbaaceb 100644 --- a/fs/xfs/xfs_xattr.c +++ b/fs/xfs/xfs_xattr.c @@ -259,6 +259,9 @@ xfs_xattr_put_listent( ASSERT(context->count >= 0); + if (flags & XFS_ATTR_PARENT) + return; + if (flags & XFS_ATTR_ROOT) { #ifdef CONFIG_XFS_POSIX_ACL if (namelen == SGI_ACL_FILE_SIZE &&