let path_init() failures treated the same way as subsequent link_path_walk()
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 12 Oct 2014 03:05:52 +0000 (23:05 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 12 Oct 2014 21:09:04 +0000 (17:09 -0400)
As it is, path_lookupat() and path_mounpoint() might end up leaking struct file
reference in some cases.

Spotted-by: Eric Biggers <ebiggers3@gmail.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

No differences found