[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>
This commit is contained in:
NeilBrown
2006-03-27 01:15:01 -08:00
committed by Linus Torvalds
parent eab7e2e647
commit 7d317f2c9f
5 changed files with 18 additions and 30 deletions

View File

@@ -259,7 +259,7 @@ static struct cache_detail rsi_cache = {
.cache_parse = rsi_parse,
};
static DefineSimpleCacheLookup(rsi, 0)
static DefineSimpleCacheLookup(rsi, rsi)
/*
* The rpcsec_context cache is used to store a context that is
@@ -446,7 +446,7 @@ static struct cache_detail rsc_cache = {
.cache_parse = rsc_parse,
};
static DefineSimpleCacheLookup(rsc, 0);
static DefineSimpleCacheLookup(rsc, rsc);
static struct rsc *
gss_svc_searchbyctx(struct xdr_netobj *handle)