kill path_lookup()

all remaining callers pass LOOKUP_PARENT to it, so
flags argument can die; renamed to kern_path_parent()

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro 2011-02-16 15:15:47 -05:00
parent 15a9155fe3
commit c9c6cac0c2
6 changed files with 8 additions and 9 deletions

View file

@ -850,7 +850,7 @@ static int unix_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len)
* Get the parent directory, calculate the hash for last
* component.
*/
err = path_lookup(sunaddr->sun_path, LOOKUP_PARENT, &nd);
err = kern_path_parent(sunaddr->sun_path, &nd);
if (err)
goto out_mknod_parent;