summaryrefslogtreecommitdiffstats
path: root/include/linux/sunrpc
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
parente57aed77ad48d28ac617ba157ad2f665f5301b30 (diff)
downloadop-kernel-dev-2da8ca26c6bfad685bfddf39728eac1c83906aa9.zip
op-kernel-dev-2da8ca26c6bfad685bfddf39728eac1c83906aa9.tar.gz
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')
-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 2d8b211..3d1fad2 100644
--- a/include/linux/sunrpc/cache.h
+++ b/include/linux/sunrpc/cache.h
@@ -79,6 +79,8 @@ struct cache_detail {
int (*cache_show)(struct seq_file *m,
struct cache_detail *cd,
struct cache_head *h);
+ void (*warn_no_listener)(struct cache_detail *cd,
+ int has_died);
struct cache_head * (*alloc)(void);
int (*match)(struct cache_head *orig, struct cache_head *new);
@@ -102,7 +104,6 @@ struct cache_detail {
atomic_t readers; /* how many time is /chennel open */
time_t last_close; /* if no readers, when did last close */
time_t last_warn; /* when we last warned about no readers */
- void (*warn_no_listener)(struct cache_detail *cd);
};
OpenPOWER on IntegriCloud