]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5d1779baca9810e2a0fac8d8bd457301f59d8301
treea0fce3617f10ca1a4ac1957d53741837164293ea
parentf8740fc05a518cb5b91da43051f998ff103cdc57
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