diff options
Diffstat (limited to 'fs/lockd/host.c')
-rw-r--r-- | fs/lockd/host.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/lockd/host.c b/fs/lockd/host.c index 3d4610c2a266..22d403208973 100644 --- a/fs/lockd/host.c +++ b/fs/lockd/host.c | |||
@@ -192,7 +192,7 @@ struct nlm_host * | |||
192 | nlmsvc_lookup_host(struct svc_rqst *rqstp, | 192 | nlmsvc_lookup_host(struct svc_rqst *rqstp, |
193 | const char *hostname, int hostname_len) | 193 | const char *hostname, int hostname_len) |
194 | { | 194 | { |
195 | return nlm_lookup_host(1, &rqstp->rq_addr, | 195 | return nlm_lookup_host(1, svc_addr_in(rqstp), |
196 | rqstp->rq_prot, rqstp->rq_vers, | 196 | rqstp->rq_prot, rqstp->rq_vers, |
197 | hostname, hostname_len); | 197 | hostname, hostname_len); |
198 | } | 198 | } |