userns: rename is_owner_or_cap to inode_owner_or_capable
[linux-2.6-block.git] / fs / ext3 / acl.c
index e4fa49e6c539310c2a4c67de8ae8fb7f647c7ec2..9d021c0d472a3666bc8bf77122a5ed09f877060d 100644 (file)
@@ -435,7 +435,7 @@ ext3_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) {