]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blobdiff - fs/ext2/acl.c
userns: rename is_owner_or_cap to inode_owner_or_capable
[mirror_ubuntu-hirsute-kernel.git] / fs / ext2 / acl.c
index 7b4180554a62a3c9ce2807487477d93485602bf3..abea5a17c76444edced01a069ccd2ddfc57acc6f 100644 (file)
@@ -406,7 +406,7 @@ ext2_xattr_set_acl(struct dentry *dentry, const char *name, const void *value,
                return -EINVAL;
        if (!test_opt(dentry->d_sb, POSIX_ACL))
                return -EOPNOTSUPP;
-       if (!is_owner_or_cap(dentry->d_inode))
+       if (!inode_owner_or_capable(dentry->d_inode))
                return -EPERM;
 
        if (value) {