mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
namei: fold put_link() into the failure case of complete_walk()
... and don't open-code unlazy_walk() in there - the only reason for that is to avoid verfication of cached nd->root, which is trivially avoided by discarding said cached nd->root first. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
fab51e8ab2
commit
e8bb73dfb0
1 changed files with 6 additions and 23 deletions
29
fs/namei.c
29
fs/namei.c
Loading…
Add table
Add a link
Reference in a new issue