mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
[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 <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
eab7e2e647
commit
7d317f2c9f
5 changed files with 18 additions and 30 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -258,7 +258,7 @@ struct cache_detail ip_map_cache = {
|
|||
.cache_show = ip_map_show,
|
||||
};
|
||||
|
||||
static DefineSimpleCacheLookup(ip_map, 0)
|
||||
static DefineSimpleCacheLookup(ip_map, ip_map)
|
||||
|
||||
|
||||
int auth_unix_add_addr(struct in_addr addr, struct auth_domain *dom)
|
||||
|
|
|
|||
Loading…
Reference in a new issue