summaryrefslogtreecommitdiff
path: root/fs/inode.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-07-16 18:15:46 +0400
committerAl Viro <viro@zeniv.linux.org.uk>2013-09-04 06:52:45 +0400
commitbadcf2b7b816130a60152d9f5a06705176596925 (patch)
treec24fb50b663a0cd46b2da6fb0dc15ca0f03242d3 /fs/inode.c
parent8033426e6bdb2690d302872ac1e1fadaec1a5581 (diff)
downloadlinux-badcf2b7b816130a60152d9f5a06705176596925.tar.xz
constify touch_atime()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/inode.c')
-rw-r--r--fs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/inode.c b/fs/inode.c
index d6dfb09c8280..93a0625b46e4 100644
--- a/fs/inode.c
+++ b/fs/inode.c
@@ -1525,7 +1525,7 @@ static int update_time(struct inode *inode, struct timespec *time, int flags)
* This function automatically handles read only file systems and media,
* as well as the "noatime" flag and inode specific "noatime" markers.
*/
-void touch_atime(struct path *path)
+void touch_atime(const struct path *path)
{
struct vfsmount *mnt = path->mnt;
struct inode *inode = path->dentry->d_inode;