diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/sunrpc/auth_gss/svcauth_gss.c | 4 | ||||
-rw-r--r-- | net/sunrpc/svcauth_unix.c | 2 |
2 files changed, 3 insertions, 3 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 | ||
262 | static DefineSimpleCacheLookup(rsi, 0) | 262 | static 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 | ||
449 | static DefineSimpleCacheLookup(rsc, 0); | 449 | static DefineSimpleCacheLookup(rsc, rsc); |
450 | 450 | ||
451 | static struct rsc * | 451 | static struct rsc * |
452 | gss_svc_searchbyctx(struct xdr_netobj *handle) | 452 | gss_svc_searchbyctx(struct xdr_netobj *handle) |
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 | ||
261 | static DefineSimpleCacheLookup(ip_map, 0) | 261 | static DefineSimpleCacheLookup(ip_map, ip_map) |
262 | 262 | ||
263 | 263 | ||
264 | int auth_unix_add_addr(struct in_addr addr, struct auth_domain *dom) | 264 | int auth_unix_add_addr(struct in_addr addr, struct auth_domain *dom) |