diff options
Diffstat (limited to 'include/linux/sunrpc/cache.h')
| -rw-r--r-- | include/linux/sunrpc/cache.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/include/linux/sunrpc/cache.h b/include/linux/sunrpc/cache.h index 3d1fad22185a..23ee25981a0c 100644 --- a/include/linux/sunrpc/cache.h +++ b/include/linux/sunrpc/cache.h | |||
| @@ -70,9 +70,9 @@ struct cache_detail { | |||
| 70 | char *name; | 70 | char *name; |
| 71 | void (*cache_put)(struct kref *); | 71 | void (*cache_put)(struct kref *); |
| 72 | 72 | ||
| 73 | void (*cache_request)(struct cache_detail *cd, | 73 | int (*cache_upcall)(struct cache_detail *, |
| 74 | struct cache_head *h, | 74 | struct cache_head *); |
| 75 | char **bpp, int *blen); | 75 | |
| 76 | int (*cache_parse)(struct cache_detail *, | 76 | int (*cache_parse)(struct cache_detail *, |
| 77 | char *buf, int len); | 77 | char *buf, int len); |
| 78 | 78 | ||
| @@ -135,6 +135,13 @@ extern struct cache_head * | |||
| 135 | sunrpc_cache_update(struct cache_detail *detail, | 135 | sunrpc_cache_update(struct cache_detail *detail, |
| 136 | struct cache_head *new, struct cache_head *old, int hash); | 136 | struct cache_head *new, struct cache_head *old, int hash); |
| 137 | 137 | ||
| 138 | extern int | ||
| 139 | sunrpc_cache_pipe_upcall(struct cache_detail *detail, struct cache_head *h, | ||
| 140 | void (*cache_request)(struct cache_detail *, | ||
| 141 | struct cache_head *, | ||
| 142 | char **, | ||
| 143 | int *)); | ||
| 144 | |||
| 138 | 145 | ||
| 139 | extern void cache_clean_deferred(void *owner); | 146 | extern void cache_clean_deferred(void *owner); |
| 140 | 147 | ||
