namei: path_init() calling conventions change
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 8 May 2015 21:19:59 +0000 (17:19 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 11 May 2015 12:10:41 +0000 (08:10 -0400)
commit368ee9ba565d6e13912791b05f3cc1dfa945a62a
tree132a7c04f8b8307ba478b61d8ec792a66ecd28b6
parent34a26b99b78148ff342801e732bf20014c291d03
namei: path_init() calling conventions change

* lift link_path_walk() into callers; moving it down into path_init()
had been a mistake.  Stack footprint, among other things...
* do _not_ call path_cleanup() after path_init() failure; on all failure
exits out of it we have nothing for path_cleanup() to do
* have path_init() return pathname or ERR_PTR(-E...)

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