userns: rename is_owner_or_cap to inode_owner_or_capable
[deliverable/linux.git] / fs / xattr.c
index 01bb8135e14aafcc4b8782b749374e6b79049afc..a19acdb81cd1270c174711c851b17013edb9ca80 100644 (file)
@@ -59,7 +59,7 @@ xattr_permission(struct inode *inode, const char *name, int mask)
                if (!S_ISREG(inode->i_mode) && !S_ISDIR(inode->i_mode))
                        return -EPERM;
                if (S_ISDIR(inode->i_mode) && (inode->i_mode & S_ISVTX) &&
-                   (mask & MAY_WRITE) && !is_owner_or_cap(inode))
+                   (mask & MAY_WRITE) && !inode_owner_or_capable(inode))
                        return -EPERM;
        }
 
This page took 0.036825 seconds and 5 git commands to generate.