commit | a15a3f6fc67d910f43098acec6e19d25a37d7cb9 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@www.linux.org.uk> | Mon Jun 06 13:36:08 2005 -0700 |
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | Mon Jun 06 14:42:26 2005 -0700 |
tree | f00e6a3f505f2e77568695f6f5e2bd4786fcc8ca | |
parent | 2f12dbfbb6286c725c283a169f8f05e89a86848b [diff] |
[PATCH] namei fixes (12/19) In open_namei() we take mntput(nd->mnt);nd->mnt=path.mnt; out of the if (__follow_mount(...)), making it conditional on nd->mnt != path.mnt instead. Then we shift the result downstream. Equivalent transformations. 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>