follow_dotdot{,_rcu}(): change calling conventions
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 4 Jul 2022 15:20:51 +0000 (11:20 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 5 Jul 2022 20:16:28 +0000 (16:16 -0400)
commit51c6546c30ea6efe9aa819015bd61ffefc910944
tree3be5f96da452ba4df1b412107c172f354c9f5776
parent82ef069805a352bacb22fd4322b746edf809603c
follow_dotdot{,_rcu}(): change calling conventions

Instead of returning NULL when we are in root, just make it return
the current position (and set *seqp and *inodep accordingly).
That collapses the calls of step_into() in handle_dots()

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