diff options
Diffstat (limited to 'net/sunrpc/svcauth_unix.c')
-rw-r--r-- | net/sunrpc/svcauth_unix.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/net/sunrpc/svcauth_unix.c b/net/sunrpc/svcauth_unix.c index 18b8742eaa50..5085804ec8a7 100644 --- a/net/sunrpc/svcauth_unix.c +++ b/net/sunrpc/svcauth_unix.c | |||
@@ -157,11 +157,6 @@ static void ip_map_request(struct cache_detail *cd, | |||
157 | (*bpp)[-1] = '\n'; | 157 | (*bpp)[-1] = '\n'; |
158 | } | 158 | } |
159 | 159 | ||
160 | static int ip_map_upcall(struct cache_detail *cd, struct cache_head *h) | ||
161 | { | ||
162 | return sunrpc_cache_pipe_upcall(cd, h, cd->cache_request); | ||
163 | } | ||
164 | |||
165 | static struct ip_map *__ip_map_lookup(struct cache_detail *cd, char *class, struct in6_addr *addr); | 160 | static struct ip_map *__ip_map_lookup(struct cache_detail *cd, char *class, struct in6_addr *addr); |
166 | static int __ip_map_update(struct cache_detail *cd, struct ip_map *ipm, struct unix_domain *udom, time_t expiry); | 161 | static int __ip_map_update(struct cache_detail *cd, struct ip_map *ipm, struct unix_domain *udom, time_t expiry); |
167 | 162 | ||
@@ -470,11 +465,6 @@ static void unix_gid_request(struct cache_detail *cd, | |||
470 | (*bpp)[-1] = '\n'; | 465 | (*bpp)[-1] = '\n'; |
471 | } | 466 | } |
472 | 467 | ||
473 | static int unix_gid_upcall(struct cache_detail *cd, struct cache_head *h) | ||
474 | { | ||
475 | return sunrpc_cache_pipe_upcall(cd, h, cd->cache_request); | ||
476 | } | ||
477 | |||
478 | static struct unix_gid *unix_gid_lookup(struct cache_detail *cd, uid_t uid); | 468 | static struct unix_gid *unix_gid_lookup(struct cache_detail *cd, uid_t uid); |
479 | 469 | ||
480 | static int unix_gid_parse(struct cache_detail *cd, | 470 | static int unix_gid_parse(struct cache_detail *cd, |
@@ -577,7 +567,6 @@ static struct cache_detail unix_gid_cache_template = { | |||
577 | .hash_size = GID_HASHMAX, | 567 | .hash_size = GID_HASHMAX, |
578 | .name = "auth.unix.gid", | 568 | .name = "auth.unix.gid", |
579 | .cache_put = unix_gid_put, | 569 | .cache_put = unix_gid_put, |
580 | .cache_upcall = unix_gid_upcall, | ||
581 | .cache_request = unix_gid_request, | 570 | .cache_request = unix_gid_request, |
582 | .cache_parse = unix_gid_parse, | 571 | .cache_parse = unix_gid_parse, |
583 | .cache_show = unix_gid_show, | 572 | .cache_show = unix_gid_show, |
@@ -875,7 +864,6 @@ static struct cache_detail ip_map_cache_template = { | |||
875 | .hash_size = IP_HASHMAX, | 864 | .hash_size = IP_HASHMAX, |
876 | .name = "auth.unix.ip", | 865 | .name = "auth.unix.ip", |
877 | .cache_put = ip_map_put, | 866 | .cache_put = ip_map_put, |
878 | .cache_upcall = ip_map_upcall, | ||
879 | .cache_request = ip_map_request, | 867 | .cache_request = ip_map_request, |
880 | .cache_parse = ip_map_parse, | 868 | .cache_parse = ip_map_parse, |
881 | .cache_show = ip_map_show, | 869 | .cache_show = ip_map_show, |