namei: saner calling conventions for filename_create()
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 12 May 2015 21:21:25 +0000 (17:21 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 15 May 2015 05:10:42 +0000 (01:10 -0400)
commit181c37b6e4c1bdb061ed0d884c54f9a6e6cdac89
treea0fce3617f10ca1a4ac1957d53741837164293ea
parent391172c46e6f9d5d03855ff3ae5720d9826f3b59
namei: saner calling conventions for filename_create()

a) make it reject ERR_PTR() for name
b) make it putname(name) upon return in all other cases.

seriously simplifies the callers...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/namei.c