aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/inode.c
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruenba@redhat.com>2015-12-02 08:44:35 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2015-12-06 21:25:17 -0500
commit97d79299223baab330b194437e676d301f12d5f6 (patch)
tree7845b5fe37465c52d3a8584b4f00945617333a0d /fs/btrfs/inode.c
parent44cb0d3f778da6646f8e993245ee827a6b7df6d5 (diff)
posix acls: Remove duplicate xattr name definitions
Remove POSIX_ACL_XATTR_{ACCESS,DEFAULT} and GFS2_POSIX_ACL_{ACCESS,DEFAULT} and replace them with the definitions in <include/uapi/linux/xattr.h>. Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com> Reviewed-by: James Morris <james.l.morris@oracle.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/btrfs/inode.c')
-rw-r--r--fs/btrfs/inode.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
index a70c5790f8f5..d540fd70f6c6 100644
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
@@ -3550,10 +3550,10 @@ static noinline int acls_after_inode_item(struct extent_buffer *leaf,
3550 int scanned = 0; 3550 int scanned = 0;
3551 3551
3552 if (!xattr_access) { 3552 if (!xattr_access) {
3553 xattr_access = btrfs_name_hash(POSIX_ACL_XATTR_ACCESS, 3553 xattr_access = btrfs_name_hash(XATTR_NAME_POSIX_ACL_ACCESS,
3554 strlen(POSIX_ACL_XATTR_ACCESS)); 3554 strlen(XATTR_NAME_POSIX_ACL_ACCESS));
3555 xattr_default = btrfs_name_hash(POSIX_ACL_XATTR_DEFAULT, 3555 xattr_default = btrfs_name_hash(XATTR_NAME_POSIX_ACL_DEFAULT,
3556 strlen(POSIX_ACL_XATTR_DEFAULT)); 3556 strlen(XATTR_NAME_POSIX_ACL_DEFAULT));
3557 } 3557 }
3558 3558
3559 slot++; 3559 slot++;