Merge branch 'pnfs-submit' of git://git.open-osd.org/linux-open-osd
[linux-2.6.git] / fs / hfsplus / ioctl.c
index 508ce66..fbaa669 100644 (file)
@@ -47,7 +47,7 @@ static int hfsplus_ioctl_setflags(struct file *file, int __user *user_flags)
        if (err)
                goto out;
 
-       if (!is_owner_or_cap(inode)) {
+       if (!inode_owner_or_capable(inode)) {
                err = -EACCES;
                goto out_drop_write;
        }