summaryrefslogtreecommitdiff
path: root/net/unix
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-02-16 23:15:47 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2011-03-14 16:15:23 +0300
commitc9c6cac0c2bdbda42e7b804838648d0bc60ddb13 (patch)
treec2d9b41eb24026d6769175e9ba3c17c8093b6aad /net/unix
parent15a9155fe3e8215c02b80df51ec2cac7c0d726ad (diff)
downloadlinux-c9c6cac0c2bdbda42e7b804838648d0bc60ddb13.tar.xz
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>
Diffstat (limited to 'net/unix')
-rw-r--r--net/unix/af_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/unix/af_unix.c b/net/unix/af_unix.c
index dd419d286204..d8c04a602cf1 100644
--- a/net/unix/af_unix.c
+++ b/net/unix/af_unix.c
@@ -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;