]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
nfsd: move <linux/nfsd/stats.h> to fs/nfsd
authorChristoph Hellwig <hch@lst.de>
Tue, 6 May 2014 17:37:15 +0000 (19:37 +0200)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 6 May 2014 21:54:55 +0000 (17:54 -0400)
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>
fs/nfsd/nfsd.h
fs/nfsd/stats.c
fs/nfsd/stats.h [moved from include/linux/nfsd/stats.h with 91% similarity]

index 72004caad718b8dc770a04604db5680d67bc9b11..7a07f9c6ee788580e1f1e2fdff11f93263eea07e 100644 (file)
@@ -19,8 +19,8 @@
 #include <linux/sunrpc/msg_prot.h>
 
 #include <linux/nfsd/debug.h>
-#include <linux/nfsd/stats.h>
 
+#include "stats.h"
 #include "export.h"
 
 /*
index 6d4521feb6e339729d9e9e8583088fcd1e0ec6f9..cd90878a76aaa8498933a087e6959f532d0f5a47 100644 (file)
@@ -24,7 +24,6 @@
 #include <linux/seq_file.h>
 #include <linux/module.h>
 #include <linux/sunrpc/stats.h>
-#include <linux/nfsd/stats.h>
 #include <net/net_namespace.h>
 
 #include "nfsd.h"
similarity index 91%
rename from include/linux/nfsd/stats.h
rename to fs/nfsd/stats.h
index e75b2544ff12f31973d76c50d976ff7ed25db87f..a5c944b771c60d595ce3ea3bd51de7a3d79b097e 100644 (file)
@@ -1,12 +1,10 @@
 /*
- * linux/include/linux/nfsd/stats.h
- *
  * Statistics for NFS server.
  *
  * Copyright (C) 1995, 1996 Olaf Kirch <okir@monad.swb.de>
  */
-#ifndef LINUX_NFSD_STATS_H
-#define LINUX_NFSD_STATS_H
+#ifndef _NFSD_STATS_H
+#define _NFSD_STATS_H
 
 #include <uapi/linux/nfsd/stats.h>
 
@@ -42,4 +40,4 @@ extern struct svc_stat                nfsd_svcstats;
 void   nfsd_stat_init(void);
 void   nfsd_stat_shutdown(void);
 
-#endif /* LINUX_NFSD_STATS_H */
+#endif /* _NFSD_STATS_H */