summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/stats.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfsd/stats.c')
-rw-r--r--fs/nfsd/stats.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/fs/nfsd/stats.c b/fs/nfsd/stats.c
index 7e7eba9a9..69defe790 100644
--- a/fs/nfsd/stats.c
+++ b/fs/nfsd/stats.c
@@ -17,6 +17,7 @@
#include <linux/sched.h>
#include <linux/proc_fs.h>
#include <linux/stat.h>
+#define __NO_VERSION__
#include <linux/module.h>
#include <linux/sunrpc/svc.h>
@@ -37,11 +38,12 @@ nfsd_proc_read(char *buffer, char **start, off_t offset, int count,
nfsdstats.rchits,
nfsdstats.rcmisses,
nfsdstats.rcnocache,
- nfsdstats.fh_cached,
- nfsdstats.fh_valid,
- nfsdstats.fh_fixup,
+ nfsdstats.fh_stale,
nfsdstats.fh_lookup,
- nfsdstats.fh_stale);
+ nfsdstats.fh_anon,
+ nfsdstats.fh_nocache_dir,
+ nfsdstats.fh_nocache_nondir);
+
/* Assume we haven't hit EOF yet. Will be set by svc_proc_read. */
*eof = 0;