aboutsummaryrefslogtreecommitdiffstats
path: root/fs/inode.c
diff options
context:
space:
mode:
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)
1525 * This function automatically handles read only file systems and media, 1525 * This function automatically handles read only file systems and media,
1526 * as well as the "noatime" flag and inode specific "noatime" markers. 1526 * as well as the "noatime" flag and inode specific "noatime" markers.
1527 */ 1527 */
1528void touch_atime(struct path *path) 1528void touch_atime(const struct path *path)
1529{ 1529{
1530 struct vfsmount *mnt = path->mnt; 1530 struct vfsmount *mnt = path->mnt;
1531 struct inode *inode = path->dentry->d_inode; 1531 struct inode *inode = path->dentry->d_inode;