From: Al Viro Date: Mon, 6 Jun 2005 20:36:04 +0000 (-0700) Subject: [PATCH] namei fixes (8/19) X-Git-Tag: v2.6.12~95 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d671d5e51400aab03c713a16ce3545aa81ad7b1c;p=pandora-kernel.git [PATCH] namei fixes (8/19) In open_namei() we never use path.mnt or path.dentry after exit: or ok:. Assignment of path.dentry in case of LAST_BIND is dead code and only obfuscates already convoluted function; assignment of path.mnt after __do_follow_link() can be moved down to the place where we set path.dentry. Obviously equivalent transformations, just to clean the air a bit in that region. Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed