userns: rename is_owner_or_cap to inode_owner_or_capable
[linux-2.6-block.git] / fs / namei.c
index dbb45a652ae399e72e8e201ad08152f7673fb70b..fc858b1124c29a3cb0499c931e7ac397ef888530 100644 (file)
@@ -2036,7 +2036,7 @@ static int may_open(struct path *path, int acc_mode, int flag)
        }
 
        /* O_NOATIME can only be set by the owner or superuser */
-       if (flag & O_NOATIME && !is_owner_or_cap(inode))
+       if (flag & O_NOATIME && !inode_owner_or_capable(inode))
                return -EPERM;
 
        /*