lift all calls of step_into() out of follow_dotdot/follow_dotdot_rcu
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 26 Feb 2020 19:33:30 +0000 (14:33 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 2 Apr 2020 05:07:30 +0000 (01:07 -0400)
commitc2df196876609e00d90909f51b7a3392dc8e377c
tree1a154443b560f0d67b1ed9e7f439968d84447389
parent6dfd9fe54dfd615eb1dcb6a1281f3b5fddef190c
lift all calls of step_into() out of follow_dotdot/follow_dotdot_rcu

lift step_into() into handle_dots() (where they merge with each other);
have follow_... return dentry and pass inode/seq to the caller.

[braino fix folded; kudos to Qian Cai <cai@lca.pw> for reporting it]

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