commit | badcf2b7b816130a60152d9f5a06705176596925 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Tue Jul 16 18:15:46 2013 +0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Tue Sep 03 22:52:45 2013 -0400 |
tree | c24fb50b663a0cd46b2da6fb0dc15ca0f03242d3 | |
parent | 8033426e6bdb2690d302872ac1e1fadaec1a5581 [diff] [blame] |
constify touch_atime() Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/fs/inode.c b/fs/inode.c index d6dfb09..93a0625 100644 --- a/fs/inode.c +++ b/fs/inode.c
@@ -1525,7 +1525,7 @@ * 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;