-
Alexander Viro authored
New helper: path_lookup(name, flags, nd) { int err = 0; if (path_init(name, flags, nd)) err = path_walk(name, nd); return err; } Places doing that by hand converted to calling it. Actually, quite a few of them were doing equivalent of __user_walk() (getname() and if it was successful - call path_lookup() and putname()). Converted to calling __user_walk().
a3806a80