Browse Source

nfsd: move <linux/nfsd/export.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>
Christoph Hellwig 11 năm trước cách đây
mục cha
commit
d430e8d530
3 tập tin đã thay đổi với 2 bổ sung7 xóa
  1. 0 1
      fs/lockd/svcsubs.c
  2. 0 5
      fs/nfsd/export.h
  3. 2 1
      fs/nfsd/nfsd.h

+ 0 - 1
fs/lockd/svcsubs.c

@@ -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>

+ 0 - 5
include/linux/nfsd/export.h → fs/nfsd/export.h

@@ -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

+ 2 - 1
fs/nfsd/nfsd.h

@@ -19,9 +19,10 @@
 #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
  */