projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
userns: rename is_owner_or_cap to inode_owner_or_capable
[linux-2.6-block.git]
/
fs
/
namei.c
diff --git
a/fs/namei.c
b/fs/namei.c
index dbb45a652ae399e72e8e201ad08152f7673fb70b..fc858b1124c29a3cb0499c931e7ac397ef888530 100644
(file)
--- a/
fs/namei.c
+++ b/
fs/namei.c
@@
-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 && !i
s_owner_or_cap
(inode))
+ if (flag & O_NOATIME && !i
node_owner_or_capable
(inode))
return -EPERM;
/*