diff options
author | Al Viro <viro@www.linux.org.uk> | 2005-06-06 13:36:01 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-06 14:42:24 -0700 |
commit | d73ffe16b8baafae6e9249acee6b50c24099c6de (patch) | |
tree | 321319974be9fcc50f4ec36ccad26b84d4b66b66 /fs/adfs | |
parent | 4e7506e4dd9e40c189fcbec95d5dbc92f2e5926a (diff) |
[PATCH] namei fixes (4/19)
path.mnt in open_namei() set to mirror nd->mnt.
nd->mnt is set in 3 places in that function - path_lookup() in the beginning,
__follow_down() loop after do_last: and __do_follow_link() call after
do_link:.
We set path.mnt to nd->mnt after path_lookup() and __do_follow_link(). In
__follow_down() loop we use &path.mnt instead of &nd->mnt and set nd->mnt to
path.mnt immediately after that loop.
Obviously equivalent transformation.
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/adfs')
0 files changed, 0 insertions, 0 deletions