summaryrefslogtreecommitdiffstats
path: root/fs/utimes.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-11-20 20:27:12 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2016-12-05 19:03:49 -0500
commitf0bb5aaf2c51267c49ed5e2c6103df22acfe30f5 (patch)
treeed42ba59576c11ad22daeae5291cfe3f5b71a9a1 /fs/utimes.c
parentca71cf71eeda04dc9ad18271504e499013af5415 (diff)
downloadlinux-f0bb5aaf2c51267c49ed5e2c6103df22acfe30f5.tar.gz
linux-f0bb5aaf2c51267c49ed5e2c6103df22acfe30f5.tar.bz2
linux-f0bb5aaf2c51267c49ed5e2c6103df22acfe30f5.zip
vfs: misc struct path constification
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/utimes.c')
-rw-r--r--fs/utimes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/utimes.c b/fs/utimes.c
index 22307cdf7014..5fdb505e307c 100644
--- a/fs/utimes.c
+++ b/fs/utimes.c
@@ -48,7 +48,7 @@ static bool nsec_valid(long nsec)
return nsec >= 0 && nsec <= 999999999;
}
-static int utimes_common(struct path *path, struct timespec *times)
+static int utimes_common(const struct path *path, struct timespec *times)
{
int error;
struct iattr newattrs;