From: Al Viro Date: Tue, 22 Feb 2011 20:50:10 +0000 (-0500) Subject: untangle the "need_reval_dot" mess X-Git-Tag: v2.6.39-rc1~514^2~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16c2cd7179881d5dd87779512ca5a0d657c64f62;p=pandora-kernel.git untangle the "need_reval_dot" mess instead of ad-hackery around need_reval_dot(), do the following: set a flag (LOOKUP_JUMPED) in the beginning of path, on absolute symlink traversal, on ".." and on procfs-style symlinks. Clear on normal components, leave unchanged on ".". Non-nested callers of link_path_walk() call handle_reval_path(), which checks that flag is set and that fs does want the final revalidate thing, then does ->d_revalidate(). In link_path_walk() all the return_reval stuff is gone. Signed-off-by: Al Viro --- Reading git-diff-tree failed