aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/svcauth_unix.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2006-03-27 04:15:01 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-27 11:44:41 -0500
commit7d317f2c9f1e9dcf4f632fa98f91d1d4a36c4cae (patch)
tree7794c88facd3943a7496f7d41c2b7eb24a5d0be0 /net/sunrpc/svcauth_unix.c
parenteab7e2e647c348b418e8715ecaca0177e1b473c7 (diff)
[PATCH] knfsd: Get rid of 'inplace' sunrpc caches
These were an unnecessary wart. Also only have one 'DefineSimpleCache..' instead of two. Signed-off-by: Neil Brown <neilb@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'net/sunrpc/svcauth_unix.c')
-rw-r--r--net/sunrpc/svcauth_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/svcauth_unix.c b/net/sunrpc/svcauth_unix.c
index 17e8b2a3130c..7ddf068b5b25 100644
--- a/net/sunrpc/svcauth_unix.c
+++ b/net/sunrpc/svcauth_unix.c
@@ -258,7 +258,7 @@ struct cache_detail ip_map_cache = {
258 .cache_show = ip_map_show, 258 .cache_show = ip_map_show,
259}; 259};
260 260
261static DefineSimpleCacheLookup(ip_map, 0) 261static DefineSimpleCacheLookup(ip_map, ip_map)
262 262
263 263
264int auth_unix_add_addr(struct in_addr addr, struct auth_domain *dom) 264int auth_unix_add_addr(struct in_addr addr, struct auth_domain *dom)