aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sunrpc/cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/sunrpc/cache.h')
-rw-r--r--include/linux/sunrpc/cache.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/sunrpc/cache.h b/include/linux/sunrpc/cache.h
index 2d8b211b9324..3d1fad22185a 100644
--- a/include/linux/sunrpc/cache.h
+++ b/include/linux/sunrpc/cache.h
@@ -79,6 +79,8 @@ struct cache_detail {
79 int (*cache_show)(struct seq_file *m, 79 int (*cache_show)(struct seq_file *m,
80 struct cache_detail *cd, 80 struct cache_detail *cd,
81 struct cache_head *h); 81 struct cache_head *h);
82 void (*warn_no_listener)(struct cache_detail *cd,
83 int has_died);
82 84
83 struct cache_head * (*alloc)(void); 85 struct cache_head * (*alloc)(void);
84 int (*match)(struct cache_head *orig, struct cache_head *new); 86 int (*match)(struct cache_head *orig, struct cache_head *new);
@@ -102,7 +104,6 @@ struct cache_detail {
102 atomic_t readers; /* how many time is /chennel open */ 104 atomic_t readers; /* how many time is /chennel open */
103 time_t last_close; /* if no readers, when did last close */ 105 time_t last_close; /* if no readers, when did last close */
104 time_t last_warn; /* when we last warned about no readers */ 106 time_t last_warn; /* when we last warned about no readers */
105 void (*warn_no_listener)(struct cache_detail *cd);
106}; 107};
107 108
108 109