summaryrefslogtreecommitdiffstats
path: root/include/linux/nfsd/stats.h
diff options
context:
space:
mode:
authorDavid Howells2012-10-09 10:49:02 +0200
committerDavid Howells2012-10-09 10:49:02 +0200
commit616d1ca5d7887dd848f2180218b4c19cb41eb30b (patch)
treeb8704976ff1a77e00c12e99efceeac0d643110f2 /include/linux/nfsd/stats.h
parentMerge branch 'akpm' (Andrew's patch-bomb) (diff)
downloadkernel-qcow2-linux-616d1ca5d7887dd848f2180218b4c19cb41eb30b.tar.gz
kernel-qcow2-linux-616d1ca5d7887dd848f2180218b4c19cb41eb30b.tar.xz
kernel-qcow2-linux-616d1ca5d7887dd848f2180218b4c19cb41eb30b.zip
UAPI: (Scripted) Disintegrate include/linux/nfsd
Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Michael Kerrisk <mtk.manpages@gmail.com> Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Acked-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'include/linux/nfsd/stats.h')
-rw-r--r--include/linux/nfsd/stats.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/include/linux/nfsd/stats.h b/include/linux/nfsd/stats.h
index 2693ef647df6..e75b2544ff12 100644
--- a/include/linux/nfsd/stats.h
+++ b/include/linux/nfsd/stats.h
@@ -5,16 +5,11 @@
*
* Copyright (C) 1995, 1996 Olaf Kirch <okir@monad.swb.de>
*/
-
#ifndef LINUX_NFSD_STATS_H
#define LINUX_NFSD_STATS_H
-#include <linux/nfs4.h>
-
-/* thread usage wraps very million seconds (approx one fortnight) */
-#define NFSD_USAGE_WRAP (HZ*1000000)
+#include <uapi/linux/nfsd/stats.h>
-#ifdef __KERNEL__
struct nfsd_stats {
unsigned int rchits; /* repcache hits */
@@ -47,5 +42,4 @@ extern struct svc_stat nfsd_svcstats;
void nfsd_stat_init(void);
void nfsd_stat_shutdown(void);
-#endif /* __KERNEL__ */
#endif /* LINUX_NFSD_STATS_H */