OSDN Git Service

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)
commit7521f22b3ce2fa25e6301f5c7612fe1d698424b4
treea206557ee3b60517b8eead06b6effe80502f7643
parent957dd41d88427f1f592d2287b179904087518021
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