From: Al Viro Date: Mon, 6 Jun 2005 20:36:08 +0000 (-0700) Subject: [PATCH] namei fixes (12/19) X-Git-Tag: v2.6.12~91 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a15a3f6fc67d910f43098acec6e19d25a37d7cb9;p=pandora-kernel.git [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed