git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Linux 3.2.102
[pandora-kernel.git]
/
fs
/
utimes.c
diff --git
a/fs/utimes.c
b/fs/utimes.c
index
ba653f3
..
cc428b2
100644
(file)
--- a/
fs/utimes.c
+++ b/
fs/utimes.c
@@
-80,7
+80,7
@@
static int utimes_common(struct path *path, struct timespec *times)
newattrs.ia_valid |= ATTR_MTIME_SET;
}
/*
newattrs.ia_valid |= ATTR_MTIME_SET;
}
/*
- * Tell
inode_change_ok
(), that this is an explicit time
+ * Tell
setattr_prepare
(), that this is an explicit time
* update, even if neither ATTR_ATIME_SET nor ATTR_MTIME_SET
* were used.
*/
* update, even if neither ATTR_ATIME_SET nor ATTR_MTIME_SET
* were used.
*/
@@
-89,7
+89,7
@@
static int utimes_common(struct path *path, struct timespec *times)
/*
* If times is NULL (or both times are UTIME_NOW),
* then we need to check permissions, because
/*
* If times is NULL (or both times are UTIME_NOW),
* then we need to check permissions, because
- *
inode_change_ok
() won't do it.
+ *
setattr_prepare
() won't do it.
*/
error = -EACCES;
if (IS_IMMUTABLE(inode))
*/
error = -EACCES;
if (IS_IMMUTABLE(inode))