From: Al Viro <viro@www.linux.org.uk>

__do_follow_link() passes potentially worng vfsmount to touch_atime().  It
matters only in (currently impossible) case of symlink mounted on something,
but it's trivial to fix and that actually makes more sense.

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
---

 fs/namei.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN fs/namei.c~namei-fixes-19-19 fs/namei.c
--- 25/fs/namei.c~namei-fixes-19-19	Fri May 20 15:42:49 2005
+++ 25-akpm/fs/namei.c	Fri May 20 15:42:49 2005
@@ -503,7 +503,7 @@ static inline int __do_follow_link(struc
 	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)
_