/*
* We're changing the ACL. Get rid of the cached one
*/
- acl =JFS_IP(inode)->i_acl;
- if (acl != JFS_ACL_NOT_CACHED)
+ acl =inode->i_acl;
+ if (acl != ACL_NOT_CACHED)
posix_acl_release(acl);
- JFS_IP(inode)->i_acl = JFS_ACL_NOT_CACHED;
+ inode->i_acl = ACL_NOT_CACHED;
return 0;
} else if (strcmp(name, POSIX_ACL_XATTR_DEFAULT) == 0) {
/*
* We're changing the default ACL. Get rid of the cached one
*/
- acl =JFS_IP(inode)->i_default_acl;
- if (acl && (acl != JFS_ACL_NOT_CACHED))
+ acl = inode->i_default_acl;
+ if (acl && (acl != ACL_NOT_CACHED))
posix_acl_release(acl);
- JFS_IP(inode)->i_default_acl = JFS_ACL_NOT_CACHED;
+ inode->i_default_acl = ACL_NOT_CACHED;
return 0;
}