diff options
Diffstat (limited to 'fs/lockd/svc.c')
-rw-r--r-- | fs/lockd/svc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/lockd/svc.c b/fs/lockd/svc.c index 64f1c31b5853..390c5593655c 100644 --- a/fs/lockd/svc.c +++ b/fs/lockd/svc.c | |||
@@ -211,7 +211,8 @@ static int create_lockd_listener(struct svc_serv *serv, char *name, | |||
211 | 211 | ||
212 | xprt = svc_find_xprt(serv, name, 0, 0); | 212 | xprt = svc_find_xprt(serv, name, 0, 0); |
213 | if (xprt == NULL) | 213 | if (xprt == NULL) |
214 | return svc_create_xprt(serv, name, port, SVC_SOCK_DEFAULTS); | 214 | return svc_create_xprt(serv, name, nlmsvc_family, |
215 | port, SVC_SOCK_DEFAULTS); | ||
215 | 216 | ||
216 | svc_xprt_put(xprt); | 217 | svc_xprt_put(xprt); |
217 | return 0; | 218 | return 0; |