]> Pileus Git - ~andy/linux/blobdiff - fs/ocfs2/acl.c
Merge branch 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jlbec...
[~andy/linux] / fs / ocfs2 / acl.c
index 69786e3eb43cdcc9c8034eabdd9ccbe65e2b5365..e913ad130fdd2cf9eafa0e73e343bad5974583e9 100644 (file)
@@ -496,7 +496,7 @@ static int ocfs2_xattr_set_acl(struct dentry *dentry, const char *name,
        if (!(osb->s_mount_opt & OCFS2_MOUNT_POSIX_ACL))
                return -EOPNOTSUPP;
 
-       if (!is_owner_or_cap(inode))
+       if (!inode_owner_or_capable(inode))
                return -EPERM;
 
        if (value) {