aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2014-05-06 13:37:15 -0400
committerJ. Bruce Fields <bfields@redhat.com>2014-05-06 17:54:55 -0400
commit7f94423e8fcc1e0f3416be76d3da0982f586d565 (patch)
tree432aebd10b7a443219cba44f57feae897ea47ed9
parentd430e8d530e900c923bf77718d72478b1c280592 (diff)
nfsd: move <linux/nfsd/stats.h> to fs/nfsd
There are no legitimate users outside of fs/nfsd, so move it there. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
-rw-r--r--fs/nfsd/nfsd.h2
-rw-r--r--fs/nfsd/stats.c1
-rw-r--r--fs/nfsd/stats.h (renamed from include/linux/nfsd/stats.h)8
3 files changed, 4 insertions, 7 deletions
diff --git a/fs/nfsd/nfsd.h b/fs/nfsd/nfsd.h
index 72004caad718..7a07f9c6ee78 100644
--- a/fs/nfsd/nfsd.h
+++ b/fs/nfsd/nfsd.h
@@ -19,8 +19,8 @@
19#include <linux/sunrpc/msg_prot.h> 19#include <linux/sunrpc/msg_prot.h>
20 20
21#include <linux/nfsd/debug.h> 21#include <linux/nfsd/debug.h>
22#include <linux/nfsd/stats.h>
23 22
23#include "stats.h"
24#include "export.h" 24#include "export.h"
25 25
26/* 26/*
diff --git a/fs/nfsd/stats.c b/fs/nfsd/stats.c
index 6d4521feb6e3..cd90878a76aa 100644
--- a/fs/nfsd/stats.c
+++ b/fs/nfsd/stats.c
@@ -24,7 +24,6 @@
24#include <linux/seq_file.h> 24#include <linux/seq_file.h>
25#include <linux/module.h> 25#include <linux/module.h>
26#include <linux/sunrpc/stats.h> 26#include <linux/sunrpc/stats.h>
27#include <linux/nfsd/stats.h>
28#include <net/net_namespace.h> 27#include <net/net_namespace.h>
29 28
30#include "nfsd.h" 29#include "nfsd.h"
diff --git a/include/linux/nfsd/stats.h b/fs/nfsd/stats.h
index e75b2544ff12..a5c944b771c6 100644
--- a/include/linux/nfsd/stats.h
+++ b/fs/nfsd/stats.h
@@ -1,12 +1,10 @@
1/* 1/*
2 * linux/include/linux/nfsd/stats.h
3 *
4 * Statistics for NFS server. 2 * Statistics for NFS server.
5 * 3 *
6 * Copyright (C) 1995, 1996 Olaf Kirch <okir@monad.swb.de> 4 * Copyright (C) 1995, 1996 Olaf Kirch <okir@monad.swb.de>
7 */ 5 */
8#ifndef LINUX_NFSD_STATS_H 6#ifndef _NFSD_STATS_H
9#define LINUX_NFSD_STATS_H 7#define _NFSD_STATS_H
10 8
11#include <uapi/linux/nfsd/stats.h> 9#include <uapi/linux/nfsd/stats.h>
12 10
@@ -42,4 +40,4 @@ extern struct svc_stat nfsd_svcstats;
42void nfsd_stat_init(void); 40void nfsd_stat_init(void);
43void nfsd_stat_shutdown(void); 41void nfsd_stat_shutdown(void);
44 42
45#endif /* LINUX_NFSD_STATS_H */ 43#endif /* _NFSD_STATS_H */