projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[firefly-linux-kernel-4.4.55.git]
/
fs
/
utimes.c
diff --git
a/fs/utimes.c
b/fs/utimes.c
index 179b586906573a444561a892e906d2f5b02963e8..ba653f3dc1bc9c66010290e53e0bb2a5b8fd94b1 100644
(file)
--- a/
fs/utimes.c
+++ b/
fs/utimes.c
@@
-95,7
+95,7
@@
static int utimes_common(struct path *path, struct timespec *times)
if (IS_IMMUTABLE(inode))
goto mnt_drop_write_and_out;
- if (!i
s_owner_or_cap
(inode)) {
+ if (!i
node_owner_or_capable
(inode)) {
error = inode_permission(inode, MAY_WRITE);
if (error)
goto mnt_drop_write_and_out;