]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1bae345d824d44b6bb7fb78dcde7793b1b6d227b
tree3be5f96da452ba4df1b412107c172f354c9f5776
parentc04016fe6fb0563eaea78757b6bf529569c39cdc
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