summaryrefslogtreecommitdiffstats
path: root/fs/lockd
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@parallels.com>2010-09-29 14:03:50 +0200
committerJ. Bruce Fields <bfields@redhat.com>2010-10-01 23:18:54 +0200
commitfc5d00b04a3a58cac8620403dfe9f43f72578ec1 (patch)
tree3a8b9a5ae3456b5846fb64c0a74c9389998b3e18 /fs/lockd
parentsunrpc: Factor out rpc_xprt freeing (diff)
downloadlinux-fc5d00b04a3a58cac8620403dfe9f43f72578ec1.tar.xz
linux-fc5d00b04a3a58cac8620403dfe9f43f72578ec1.zip
sunrpc: Add net argument to svc_create_xprt
Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/lockd')
-rw-r--r--fs/lockd/svc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/lockd/svc.c b/fs/lockd/svc.c
index f1bacf1a0391..b13aabc12298 100644
--- a/fs/lockd/svc.c
+++ b/fs/lockd/svc.c
@@ -206,7 +206,7 @@ static int create_lockd_listener(struct svc_serv *serv, const char *name,
xprt = svc_find_xprt(serv, name, family, 0);
if (xprt == NULL)
- return svc_create_xprt(serv, name, family, port,
+ return svc_create_xprt(serv, name, &init_net, family, port,
SVC_SOCK_DEFAULTS);
svc_xprt_put(xprt);
return 0;