aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/sunrpc/svcauth_unix.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/net/sunrpc/svcauth_unix.c b/net/sunrpc/svcauth_unix.c
index 1020d54b01d0..40d41a2831d7 100644
--- a/net/sunrpc/svcauth_unix.c
+++ b/net/sunrpc/svcauth_unix.c
@@ -348,12 +348,9 @@ int auth_unix_forget_old(struct auth_domain *dom)
348 348
349struct auth_domain *auth_unix_lookup(struct in_addr addr) 349struct auth_domain *auth_unix_lookup(struct in_addr addr)
350{ 350{
351 struct ip_map key, *ipm; 351 struct ip_map *ipm;
352 struct auth_domain *rv; 352 struct auth_domain *rv;
353 353
354 strcpy(key.m_class, "nfsd");
355 key.m_addr = addr;
356
357 ipm = ip_map_lookup("nfsd", addr); 354 ipm = ip_map_lookup("nfsd", addr);
358 355
359 if (!ipm) 356 if (!ipm)