mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
namei: saner calling conventions for filename_parentat()
a) make it reject ERR_PTR() for name b) make it putname(name) on all other failure exits c) make it return name on success again, simplifies the callers Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
181c37b6e4
commit
5c31b6cedb
1 changed files with 22 additions and 38 deletions
60
fs/namei.c
60
fs/namei.c
Loading…
Add table
Add a link
Reference in a new issue