aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jfs/xattr.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/jfs/xattr.c')
-rw-r--r--fs/jfs/xattr.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/fs/jfs/xattr.c b/fs/jfs/xattr.c
index 61dfa8173ebc..f6e90e343593 100644
--- a/fs/jfs/xattr.c
+++ b/fs/jfs/xattr.c
@@ -727,10 +727,10 @@ static int can_set_system_xattr(struct inode *inode, const char *name,
727 /* 727 /*
728 * We're changing the ACL. Get rid of the cached one 728 * We're changing the ACL. Get rid of the cached one
729 */ 729 */
730 acl =JFS_IP(inode)->i_acl; 730 acl =inode->i_acl;
731 if (acl != JFS_ACL_NOT_CACHED) 731 if (acl != ACL_NOT_CACHED)
732 posix_acl_release(acl); 732 posix_acl_release(acl);
733 JFS_IP(inode)->i_acl = JFS_ACL_NOT_CACHED; 733 inode->i_acl = ACL_NOT_CACHED;
734 734
735 return 0; 735 return 0;
736 } else if (strcmp(name, POSIX_ACL_XATTR_DEFAULT) == 0) { 736 } else if (strcmp(name, POSIX_ACL_XATTR_DEFAULT) == 0) {
@@ -746,10 +746,10 @@ static int can_set_system_xattr(struct inode *inode, const char *name,
746 /* 746 /*
747 * We're changing the default ACL. Get rid of the cached one 747 * We're changing the default ACL. Get rid of the cached one
748 */ 748 */
749 acl =JFS_IP(inode)->i_default_acl; 749 acl = inode->i_default_acl;
750 if (acl && (acl != JFS_ACL_NOT_CACHED)) 750 if (acl && (acl != ACL_NOT_CACHED))
751 posix_acl_release(acl); 751 posix_acl_release(acl);
752 JFS_IP(inode)->i_default_acl = JFS_ACL_NOT_CACHED; 752 inode->i_default_acl = ACL_NOT_CACHED;
753 753
754 return 0; 754 return 0;
755 } 755 }