]> git.openpandora.org Git - pandora-kernel.git/commitdiff
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)
* 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

diff --cc fs/namei.c
Simple merge