userns: rename is_owner_or_cap to inode_owner_or_capable
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / fs / ext4 / acl.c
index e0270d1f8d82b68e8823cccc4db7539fb9a34f5b..21eacd7b7d79f558695b37216f6e9ea4745fb05e 100644 (file)
@@ -433,7 +433,7 @@ ext4_xattr_set_acl(struct dentry *dentry, const char *name, const void *value,
                return -EINVAL;
        if (!test_opt(inode->i_sb, POSIX_ACL))
                return -EOPNOTSUPP;
-       if (!is_owner_or_cap(inode))
+       if (!inode_owner_or_capable(inode))
                return -EPERM;
 
        if (value) {