aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sunrpc/cache.h
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2009-08-09 15:14:26 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2009-08-09 15:14:26 -0400
commit2da8ca26c6bfad685bfddf39728eac1c83906aa9 (patch)
tree77d0d4ed305009bd5bf82b1456d4ed5ab1db5002 /include/linux/sunrpc/cache.h
parente57aed77ad48d28ac617ba157ad2f665f5301b30 (diff)
NFSD: Clean up the idmapper warning...
What part of 'internal use' is so hard to understand? Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
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