From: Al Viro Date: Sun, 13 Mar 2011 23:58:58 +0000 (-0400) Subject: pull handling of one pathname component into a helper X-Git-Tag: v2.6.39-rc1~514^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce57dfc1791221ef58b6d6b8f5437fccefc4e187;p=pandora-kernel.git pull handling of one pathname component into a helper new helper: walk_component(). Handles everything except symlinks; returns negative on error, 0 on success and 1 on symlinks we decided to follow. Drops out of RCU mode on such symlinks. link_path_walk() and do_last() switched to using that. Signed-off-by: Al Viro --- Reading git-diff-tree failed