knfsd: Remove an unused variable from auth_unix_lookup()
Signed-off-by: Greg Banks <[email protected]>
---
net/sunrpc/svcauth_unix.c | 5 +----
1 files changed, 1 insertion(+), 4 deletions(-)
Index: linus-git/net/sunrpc/svcauth_unix.c
===================================================================
--- linus-git.orig/net/sunrpc/svcauth_unix.c 2006-07-05 15:55:57.889034008 +1000
+++ linus-git/net/sunrpc/svcauth_unix.c 2006-07-06 12:56:03.790962262 +1000
@@ -348,12 +348,9 @@ int auth_unix_forget_old(struct auth_dom
struct auth_domain *auth_unix_lookup(struct in_addr addr)
{
- struct ip_map key, *ipm;
+ struct ip_map *ipm;
struct auth_domain *rv;
- strcpy(key.m_class, "nfsd");
- key.m_addr = addr;
-
ipm = ip_map_lookup("nfsd", addr);
if (!ipm)
Greg.
--
Greg Banks, R&D Software Engineer, SGI Australian Software Group.
I don't speak for SGI.
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs