aboutsummaryrefslogtreecommitdiffstats
path: root/fs/lockd/svcproc.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/lockd/svcproc.c')
-rw-r--r--fs/lockd/svcproc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/lockd/svcproc.c b/fs/lockd/svcproc.c
index 35681d9cf1fc..4986fbe44540 100644
--- a/fs/lockd/svcproc.c
+++ b/fs/lockd/svcproc.c
@@ -508,8 +508,7 @@ nlmsvc_callback(struct svc_rqst *rqstp, u32 proc, struct nlm_res *resp)
508 if (!(call = nlmclnt_alloc_call())) 508 if (!(call = nlmclnt_alloc_call()))
509 return rpc_system_err; 509 return rpc_system_err;
510 510
511 host = nlmclnt_lookup_host(&rqstp->rq_addr, 511 host = nlmsvc_lookup_host(rqstp);
512 rqstp->rq_prot, rqstp->rq_vers);
513 if (!host) { 512 if (!host) {
514 kfree(call); 513 kfree(call);
515 return rpc_system_err; 514 return rpc_system_err;