diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-07-16 10:15:46 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-09-03 22:52:45 -0400 |
commit | badcf2b7b816130a60152d9f5a06705176596925 (patch) | |
tree | c24fb50b663a0cd46b2da6fb0dc15ca0f03242d3 /include/linux/fs.h | |
parent | 8033426e6bdb2690d302872ac1e1fadaec1a5581 (diff) |
constify touch_atime()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r-- | include/linux/fs.h | 2 |
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 { | |||
1804 | S_VERSION = 8, | 1804 | S_VERSION = 8, |
1805 | }; | 1805 | }; |
1806 | 1806 | ||
1807 | extern void touch_atime(struct path *); | 1807 | extern void touch_atime(const struct path *); |
1808 | static inline void file_accessed(struct file *file) | 1808 | static inline void file_accessed(struct file *file) |
1809 | { | 1809 | { |
1810 | if (!(file->f_flags & O_NOATIME)) | 1810 | if (!(file->f_flags & O_NOATIME)) |