diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-03-20 13:44:39 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-03-20 13:44:39 -0500 |
commit | 686517f1ad1630c11964d668b556aab79b8c942e (patch) | |
tree | fc62470bef473ce51f6caddb3b187da756b8bffc /fs/lockd/svc4proc.c | |
parent | 5e1abf8cb713a0b94f5a400c7b9b797990cd9dec (diff) |
lockd: Make nlmsvc_create_block() use nlmsvc_lookup_host()
Currently it uses nlmclnt_lookup_host(), which puts the resulting host
structure on a different list.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/lockd/svc4proc.c')
-rw-r--r-- | fs/lockd/svc4proc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/lockd/svc4proc.c b/fs/lockd/svc4proc.c index b10f913aa06a..ac4a700af01a 100644 --- a/fs/lockd/svc4proc.c +++ b/fs/lockd/svc4proc.c | |||
@@ -483,8 +483,7 @@ nlm4svc_callback(struct svc_rqst *rqstp, u32 proc, struct nlm_res *resp) | |||
483 | if (!(call = nlmclnt_alloc_call())) | 483 | if (!(call = nlmclnt_alloc_call())) |
484 | return rpc_system_err; | 484 | return rpc_system_err; |
485 | 485 | ||
486 | host = nlmclnt_lookup_host(&rqstp->rq_addr, | 486 | host = nlmsvc_lookup_host(rqstp); |
487 | rqstp->rq_prot, rqstp->rq_vers); | ||
488 | if (!host) { | 487 | if (!host) { |
489 | kfree(call); | 488 | kfree(call); |
490 | return rpc_system_err; | 489 | return rpc_system_err; |