diff options
Diffstat (limited to 'net/sunrpc/cache.c')
-rw-r--r-- | net/sunrpc/cache.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/net/sunrpc/cache.c b/net/sunrpc/cache.c index 50b1a8b441fe..636c8e04e0be 100644 --- a/net/sunrpc/cache.c +++ b/net/sunrpc/cache.c | |||
@@ -245,6 +245,7 @@ int cache_check(struct cache_detail *detail, | |||
245 | cache_put(h, detail); | 245 | cache_put(h, detail); |
246 | return rv; | 246 | return rv; |
247 | } | 247 | } |
248 | EXPORT_SYMBOL(cache_check); | ||
248 | 249 | ||
249 | /* | 250 | /* |
250 | * caches need to be periodically cleaned. | 251 | * caches need to be periodically cleaned. |
@@ -377,6 +378,7 @@ int cache_register(struct cache_detail *cd) | |||
377 | schedule_delayed_work(&cache_cleaner, 0); | 378 | schedule_delayed_work(&cache_cleaner, 0); |
378 | return 0; | 379 | return 0; |
379 | } | 380 | } |
381 | EXPORT_SYMBOL(cache_register); | ||
380 | 382 | ||
381 | void cache_unregister(struct cache_detail *cd) | 383 | void cache_unregister(struct cache_detail *cd) |
382 | { | 384 | { |
@@ -402,6 +404,7 @@ void cache_unregister(struct cache_detail *cd) | |||
402 | out: | 404 | out: |
403 | printk(KERN_ERR "nfsd: failed to unregister %s cache\n", cd->name); | 405 | printk(KERN_ERR "nfsd: failed to unregister %s cache\n", cd->name); |
404 | } | 406 | } |
407 | EXPORT_SYMBOL(cache_unregister); | ||
405 | 408 | ||
406 | /* clean cache tries to find something to clean | 409 | /* clean cache tries to find something to clean |
407 | * and cleans it. | 410 | * and cleans it. |
@@ -516,6 +519,7 @@ void cache_flush(void) | |||
516 | while (cache_clean() != -1) | 519 | while (cache_clean() != -1) |
517 | cond_resched(); | 520 | cond_resched(); |
518 | } | 521 | } |
522 | EXPORT_SYMBOL(cache_flush); | ||
519 | 523 | ||
520 | void cache_purge(struct cache_detail *detail) | 524 | void cache_purge(struct cache_detail *detail) |
521 | { | 525 | { |
@@ -524,7 +528,7 @@ void cache_purge(struct cache_detail *detail) | |||
524 | cache_flush(); | 528 | cache_flush(); |
525 | detail->flush_time = 1; | 529 | detail->flush_time = 1; |
526 | } | 530 | } |
527 | 531 | EXPORT_SYMBOL(cache_purge); | |
528 | 532 | ||
529 | 533 | ||
530 | /* | 534 | /* |
@@ -990,6 +994,7 @@ void qword_add(char **bpp, int *lp, char *str) | |||
990 | *bpp = bp; | 994 | *bpp = bp; |
991 | *lp = len; | 995 | *lp = len; |
992 | } | 996 | } |
997 | EXPORT_SYMBOL(qword_add); | ||
993 | 998 | ||
994 | void qword_addhex(char **bpp, int *lp, char *buf, int blen) | 999 | void qword_addhex(char **bpp, int *lp, char *buf, int blen) |
995 | { | 1000 | { |
@@ -1018,6 +1023,7 @@ void qword_addhex(char **bpp, int *lp, char *buf, int blen) | |||
1018 | *bpp = bp; | 1023 | *bpp = bp; |
1019 | *lp = len; | 1024 | *lp = len; |
1020 | } | 1025 | } |
1026 | EXPORT_SYMBOL(qword_addhex); | ||
1021 | 1027 | ||
1022 | static void warn_no_listener(struct cache_detail *detail) | 1028 | static void warn_no_listener(struct cache_detail *detail) |
1023 | { | 1029 | { |
@@ -1140,6 +1146,7 @@ int qword_get(char **bpp, char *dest, int bufsize) | |||
1140 | *dest = '\0'; | 1146 | *dest = '\0'; |
1141 | return len; | 1147 | return len; |
1142 | } | 1148 | } |
1149 | EXPORT_SYMBOL(qword_get); | ||
1143 | 1150 | ||
1144 | 1151 | ||
1145 | /* | 1152 | /* |