diff options
Diffstat (limited to 'fs/inode.c')
-rw-r--r-- | fs/inode.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/inode.c b/fs/inode.c index 92de04b0baa2..8b612813a6a7 100644 --- a/fs/inode.c +++ b/fs/inode.c | |||
@@ -1499,9 +1499,10 @@ static int relatime_need_update(struct vfsmount *mnt, struct inode *inode, | |||
1499 | * This function automatically handles read only file systems and media, | 1499 | * This function automatically handles read only file systems and media, |
1500 | * as well as the "noatime" flag and inode specific "noatime" markers. | 1500 | * as well as the "noatime" flag and inode specific "noatime" markers. |
1501 | */ | 1501 | */ |
1502 | void touch_atime(struct vfsmount *mnt, struct dentry *dentry) | 1502 | void touch_atime(struct path *path) |
1503 | { | 1503 | { |
1504 | struct inode *inode = dentry->d_inode; | 1504 | struct vfsmount *mnt = path->mnt; |
1505 | struct inode *inode = path->dentry->d_inode; | ||
1505 | struct timespec now; | 1506 | struct timespec now; |
1506 | 1507 | ||
1507 | if (inode->i_flags & S_NOATIME) | 1508 | if (inode->i_flags & S_NOATIME) |