diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2015-05-12 21:32:54 (GMT) |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-05-15 05:10:42 (GMT) |
commit | 5c31b6cedb675199bfd18c08a1223c9b39daedd7 (patch) | |
tree | 76b0c78f93d39284a5e6bc5925f313b285859818 /mm/slab_common.c | |
parent | 181c37b6e4c1bdb061ed0d884c54f9a6e6cdac89 (diff) | |
download | linux-5c31b6cedb675199bfd18c08a1223c9b39daedd7.tar.xz |
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>
Diffstat (limited to 'mm/slab_common.c')
0 files changed, 0 insertions, 0 deletions