From: Al Viro Date: Fri, 4 Mar 2011 19:44:37 +0000 (-0500) Subject: get rid of the last LOOKUP_RCU dependencies in link_path_walk() X-Git-Tag: v2.6.39-rc1~514^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=951361f954596bd134d4270df834f47d151f98a6;p=pandora-kernel.git get rid of the last LOOKUP_RCU dependencies in link_path_walk() New helper: terminate_walk(). An error has happened during pathname resolution and we either drop nd->path or terminate RCU, depending the mode we had been in. After that, nd is essentially empty. Switch link_path_walk() to using that for cleanup. Now the top-level logics in link_path_walk() is back to sanity. RCU dependencies are in the lower-level functions. Signed-off-by: Al Viro --- Reading git-diff-tree failed