mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
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>
This commit is contained in:
parent
82ef069805
commit
51c6546c30
1 changed files with 7 additions and 9 deletions
16
fs/namei.c
16
fs/namei.c
Loading…
Add table
Add a link
Reference in a new issue