aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/auth_gss
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/auth_gss
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/auth_gss')
-rw-r--r--net/sunrpc/auth_gss/svcauth_gss.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sunrpc/auth_gss/svcauth_gss.c b/net/sunrpc/auth_gss/svcauth_gss.c
index 6b073c2e6930..aadb4e8d6aa7 100644
--- a/net/sunrpc/auth_gss/svcauth_gss.c
+++ b/net/sunrpc/auth_gss/svcauth_gss.c
@@ -259,7 +259,7 @@ static struct cache_detail rsi_cache = {
259 .cache_parse = rsi_parse, 259 .cache_parse = rsi_parse,
260}; 260};
261 261
262static DefineSimpleCacheLookup(rsi, 0) 262static DefineSimpleCacheLookup(rsi, rsi)
263 263
264/* 264/*
265 * The rpcsec_context cache is used to store a context that is 265 * The rpcsec_context cache is used to store a context that is
@@ -446,7 +446,7 @@ static struct cache_detail rsc_cache = {
446 .cache_parse = rsc_parse, 446 .cache_parse = rsc_parse,
447}; 447};
448 448
449static DefineSimpleCacheLookup(rsc, 0); 449static DefineSimpleCacheLookup(rsc, rsc);
450 450
451static struct rsc * 451static struct rsc *
452gss_svc_searchbyctx(struct xdr_netobj *handle) 452gss_svc_searchbyctx(struct xdr_netobj *handle)