userns: rename is_owner_or_cap to inode_owner_or_capable
[linux-2.6-block.git] / fs / 9p / acl.c
index 33aa116732c8986a46990c6bad72bf6c784b2b2e..535ab6eccb1a8de6090ff94448a3bf044d1b6514 100644 (file)
@@ -323,7 +323,7 @@ static int v9fs_xattr_set_acl(struct dentry *dentry, const char *name,
 
        if (S_ISLNK(inode->i_mode))
                return -EOPNOTSUPP;
-       if (!is_owner_or_cap(inode))
+       if (!inode_owner_or_capable(inode))
                return -EPERM;
        if (value) {
                /* update the cached acl value */