namei: make filename_lookup() reject ERR_PTR() passed as name
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 12 May 2015 20:53:42 +0000 (16:53 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 15 May 2015 05:10:41 +0000 (01:10 -0400)
commitabc9f5beb1ca97b5157914c83c85d67a6b665d74
treeb62c7291495137f2c3a5c50276bd7f92c426b38f
parent9ad1aaa61522ffba001a5599623182fe23083a94
namei: make filename_lookup() reject ERR_PTR() passed as name

makes for much easier life in callers

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