]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/generic_acl.c
userns: rename is_owner_or_cap to inode_owner_or_capable
[karo-tx-linux.git] / fs / generic_acl.c
index 06c48a89183293b86e25d87329cb2d6aa6e3b775..8f26d1a5891226acc324798ed84bdeb27950145c 100644 (file)
@@ -74,7 +74,7 @@ generic_acl_set(struct dentry *dentry, const char *name, const void *value,
                return -EINVAL;
        if (S_ISLNK(inode->i_mode))
                return -EOPNOTSUPP;
-       if (!is_owner_or_cap(inode))
+       if (!inode_owner_or_capable(inode))
                return -EPERM;
        if (value) {
                acl = posix_acl_from_xattr(value, size);