aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'fs/utimes.c')
-rw-r--r--fs/utimes.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/utimes.c b/fs/utimes.c
index aa138d64560a..61abc3051377 100644
--- a/fs/utimes.c
+++ b/fs/utimes.c
@@ -81,7 +81,7 @@ static int utimes_common(struct path *path, struct timespec *times)
81 newattrs.ia_valid |= ATTR_MTIME_SET; 81 newattrs.ia_valid |= ATTR_MTIME_SET;
82 } 82 }
83 /* 83 /*
84 * Tell inode_change_ok(), that this is an explicit time 84 * Tell setattr_prepare(), that this is an explicit time
85 * update, even if neither ATTR_ATIME_SET nor ATTR_MTIME_SET 85 * update, even if neither ATTR_ATIME_SET nor ATTR_MTIME_SET
86 * were used. 86 * were used.
87 */ 87 */
@@ -90,7 +90,7 @@ static int utimes_common(struct path *path, struct timespec *times)
90 /* 90 /*
91 * If times is NULL (or both times are UTIME_NOW), 91 * If times is NULL (or both times are UTIME_NOW),
92 * then we need to check permissions, because 92 * then we need to check permissions, because
93 * inode_change_ok() won't do it. 93 * setattr_prepare() won't do it.
94 */ 94 */
95 error = -EACCES; 95 error = -EACCES;
96 if (IS_IMMUTABLE(inode)) 96 if (IS_IMMUTABLE(inode))