瀏覽代碼

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 年之前
父節點
當前提交
d430e8d530
共有 3 個文件被更改,包括 2 次插入7 次删除
  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/mutex.h>
 #include <linux/sunrpc/svc.h>
 #include <linux/sunrpc/svc.h>
 #include <linux/sunrpc/addr.h>
 #include <linux/sunrpc/addr.h>
-#include <linux/nfsd/export.h>
 #include <linux/lockd/lockd.h>
 #include <linux/lockd/lockd.h>
 #include <linux/lockd/share.h>
 #include <linux/lockd/share.h>
 #include <linux/module.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>
  * Copyright (C) 1995-1997 Olaf Kirch <okir@monad.swb.de>
  */
  */
 #ifndef NFSD_EXPORT_H
 #ifndef NFSD_EXPORT_H

+ 2 - 1
fs/nfsd/nfsd.h

@@ -19,9 +19,10 @@
 #include <linux/sunrpc/msg_prot.h>
 #include <linux/sunrpc/msg_prot.h>
 
 
 #include <linux/nfsd/debug.h>
 #include <linux/nfsd/debug.h>
-#include <linux/nfsd/export.h>
 #include <linux/nfsd/stats.h>
 #include <linux/nfsd/stats.h>
 
 
+#include "export.h"
+
 /*
 /*
  * nfsd version
  * nfsd version
  */
  */