]> git.baikalelectronics.ru Git - kernel.git/commit
handle_dots(), follow_dotdot{,_rcu}(): preparation to switch to step_into()
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 26 Feb 2020 17:22:58 +0000 (12:22 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 14 Mar 2020 01:09:13 +0000 (21:09 -0400)
commit7b8b96caaebfc540c563e482e13246f7027c3324
treea206557ee3b60517b8eead06b6effe80502f7643
parent0ae6c17fb0f03b127cfe38cd07c42d18b23496df
handle_dots(), follow_dotdot{,_rcu}(): preparation to switch to step_into()

Right now the tail ends of follow_dotdot{,_rcu}() are pretty
much the open-coded analogues of step_into().  The differences:
* the lack of proper LOOKUP_NO_XDEV handling in non-RCU case
(arguably a bug)
* the lack of ->d_manage() handling (again, arguably a bug)

Adjust the calling conventions so that on the next step with could
just switch those functions to returning step_into().

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/namei.c