diff options
Diffstat (limited to 'fs/lockd/host.c')
-rw-r--r-- | fs/lockd/host.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/lockd/host.c b/fs/lockd/host.c index 230de93fc048..e5a65df4c0cd 100644 --- a/fs/lockd/host.c +++ b/fs/lockd/host.c | |||
@@ -159,8 +159,8 @@ static struct nlm_host *nlm_lookup_host(struct nlm_lookup_host_info *ni) | |||
159 | atomic_inc(&nsm->sm_count); | 159 | atomic_inc(&nsm->sm_count); |
160 | else { | 160 | else { |
161 | host = NULL; | 161 | host = NULL; |
162 | nsm = nsm_find(ni->sap, ni->salen, | 162 | nsm = nsm_get_handle(ni->sap, ni->salen, |
163 | ni->hostname, ni->hostname_len, 1); | 163 | ni->hostname, ni->hostname_len); |
164 | if (!nsm) { | 164 | if (!nsm) { |
165 | dprintk("lockd: nlm_lookup_host failed; " | 165 | dprintk("lockd: nlm_lookup_host failed; " |
166 | "no nsm handle\n"); | 166 | "no nsm handle\n"); |