namei.c: split unlazy_walk()
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 10 Jan 2017 03:29:15 +0000 (22:29 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 10 Jan 2017 03:29:15 +0000 (22:29 -0500)
commit4675ac39b5dd5ff08dd8cb2be9ddd3cba778aa39
treeafbb65c11de564e2567865acaee816ab6e1e130c
parenta89f833737e6c75df0091ccf6c767b94745463c1
namei.c: split unlazy_walk()

In all but one case, the last two arguments are NULL and 0 resp.;
almost everyone just wants to switch nameidata to non-RCU mode.
The only exception is lookup_fast(), where we have a child dentry
we want to legitimize as well.  Split these two cases.

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