diff options
author | Al Viro <viro@www.linux.org.uk> | 2005-06-06 13:36:14 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-06 14:42:27 -0700 |
commit | d671a1cbf7c7a5c5562106d39eb7f830ae5273ae (patch) | |
tree | c27ab7e75684cb70d943c3b2690ebbd62000a921 /fs | |
parent | 634ee7017b31e46e28c0bd2cb488213331bfd39a (diff) | |
download | kernel_samsung_smdk4412-d671a1cbf7c7a5c5562106d39eb7f830ae5273ae.zip kernel_samsung_smdk4412-d671a1cbf7c7a5c5562106d39eb7f830ae5273ae.tar.gz kernel_samsung_smdk4412-d671a1cbf7c7a5c5562106d39eb7f830ae5273ae.tar.bz2 |
[PATCH] namei fixes (19/19)
__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>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/namei.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |