summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-07-16 16:15:46 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2013-09-04 04:52:45 +0200
commitbadcf2b7b816130a60152d9f5a06705176596925 (patch)
treec24fb50b663a0cd46b2da6fb0dc15ca0f03242d3 /include
parentvfs: allow umount to handle mountpoints without revalidating them (diff)
downloadlinux-badcf2b7b816130a60152d9f5a06705176596925.tar.xz
linux-badcf2b7b816130a60152d9f5a06705176596925.zip
constify touch_atime()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r--include/linux/fs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 981874773e85..65c9929cd340 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -1804,7 +1804,7 @@ enum file_time_flags {
S_VERSION = 8,
};
-extern void touch_atime(struct path *);
+extern void touch_atime(const struct path *);
static inline void file_accessed(struct file *file)
{
if (!(file->f_flags & O_NOATIME))