commit | 951361f954596bd134d4270df834f47d151f98a6 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Fri Mar 04 14:44:37 2011 -0500 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Mon Mar 14 09:15:26 2011 -0400 |
tree | 719622960d2ec96473636333ddc8b85ab8151505 | |
parent | a7472baba22dd5d68580f528374f93421b33667e [diff] |
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 <viro@zeniv.linux.org.uk>