diff --git a/fs/namei.c b/fs/namei.c index 5af7681e8ea345bc19aa933c9dcd9336fe2da3be..a7f7f44119b3dda8e18a3de1e23990eb4f3ffb05 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -503,7 +503,7 @@ static inline int __do_follow_link(struct path *path, struct nameidata *nd) int error; struct dentry *dentry = path->dentry; - touch_atime(nd->mnt, dentry); + touch_atime(path->mnt, dentry); nd_set_link(nd, NULL); if (path->mnt == nd->mnt)