nfsd: move <linux/nfsd/export.h> to fs/nfsd
authorChristoph Hellwig <hch@lst.de>
Tue, 6 May 2014 17:37:14 +0000 (19:37 +0200)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 6 May 2014 21:54:54 +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/lockd/svcsubs.c
fs/nfsd/export.h [moved from include/linux/nfsd/export.h with 95% similarity]
fs/nfsd/nfsd.h

index 7ec6b10..b6f3b84 100644 (file)
@@ -14,7 +14,6 @@
 #include <linux/mutex.h>
 #include <linux/sunrpc/svc.h>
 #include <linux/sunrpc/addr.h>
-#include <linux/nfsd/export.h>
 #include <linux/lockd/lockd.h>
 #include <linux/lockd/share.h>
 #include <linux/module.h>
similarity index 95%
rename from include/linux/nfsd/export.h
rename to fs/nfsd/export.h
index b12c4e5..d7939a6 100644 (file)
@@ -1,9 +1,4 @@
 /*
- * include/linux/nfsd/export.h
- * 
- * Public declarations for NFS exports. The definitions for the
- * syscall interface are in nfsctl.h
- *
  * Copyright (C) 1995-1997 Olaf Kirch <okir@monad.swb.de>
  */
 #ifndef NFSD_EXPORT_H
index 7d5c310..72004ca 100644 (file)
 #include <linux/sunrpc/msg_prot.h>
 
 #include <linux/nfsd/debug.h>
-#include <linux/nfsd/export.h>
 #include <linux/nfsd/stats.h>
 
+#include "export.h"
+
 /*
  * nfsd version
  */