fs: add export.h to files using EXPORT_SYMBOL/THIS_MODULE macros
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 26 May 2011 20:00:52 +0000 (16:00 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 31 Oct 2011 23:30:31 +0000 (19:30 -0400)
These files were getting <linux/module.h> via an implicit include
path, but we want to crush those out of existence since they cost
time during compiles of processing thousands of lines of headers
for no reason.  Give them the lightweight header that just contains
the EXPORT_SYMBOL infrastructure.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
fs/bio-integrity.c
fs/gfs2/ops_fstype.c
fs/ioprio.c
fs/jfs/jfs_logmgr.c
fs/nfs/pagelist.c
fs/nfs/pnfs_dev.c
fs/nfs/write.c
fs/nfsd/nfs4acl.c
fs/ocfs2/cluster/tcp.c
fs/ocfs2/dlm/dlmdebug.c
fs/proc/vmcore.c

index 9c5e6b2cd11a84fa3f04611b35cebb6e2232b186..c2183f3917cdd07647ca48493ce14c97c024b4c2 100644 (file)
@@ -22,6 +22,7 @@
 
 #include <linux/blkdev.h>
 #include <linux/mempool.h>
+#include <linux/export.h>
 #include <linux/bio.h>
 #include <linux/workqueue.h>
 #include <linux/slab.h>
index 7e823bbd24536d9acfc27037c5d0f2268e47d322..cb23c2be731aed23c5524a301aed6bfc65ea7336 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/buffer_head.h>
 #include <linux/blkdev.h>
 #include <linux/kthread.h>
+#include <linux/export.h>
 #include <linux/namei.h>
 #include <linux/mount.h>
 #include <linux/gfs2_ondisk.h>
index 7da2a06508e5448c59aebcee03518d78f2b0599b..f79dab83e17b304b123fa725124372561f03e349 100644 (file)
@@ -21,6 +21,7 @@
  */
 #include <linux/gfp.h>
 #include <linux/kernel.h>
+#include <linux/export.h>
 #include <linux/ioprio.h>
 #include <linux/blkdev.h>
 #include <linux/capability.h>
index 583636f745e59dbe7e66e1b3871496ac3b29a63d..cc5f811ed383ce9ad239e659e0056c59a81a5f73 100644 (file)
@@ -67,6 +67,7 @@
 #include <linux/buffer_head.h>         /* for sync_blockdev() */
 #include <linux/bio.h>
 #include <linux/freezer.h>
+#include <linux/export.h>
 #include <linux/delay.h>
 #include <linux/mutex.h>
 #include <linux/seq_file.h>
index b60970cc7f1f0f688c80b80674848b940265625c..a788d8522c88dbd04d0bd33944ed18071b682c59 100644 (file)
@@ -18,6 +18,7 @@
 #include <linux/nfs_page.h>
 #include <linux/nfs_fs.h>
 #include <linux/nfs_mount.h>
+#include <linux/export.h>
 
 #include "internal.h"
 #include "pnfs.h"
index 6fda5228ef5627d45da3cdf4933e6a098b018820..4f359d2a26ebe3ce4a2160758c2a5e6c69163ba6 100644 (file)
@@ -28,6 +28,7 @@
  *  such damages.
  */
 
+#include <linux/export.h>
 #include "pnfs.h"
 
 #define NFSDBG_FACILITY                NFSDBG_PNFS
index 2219c88d96b274004a7e40afc7ed5053dec20028..cd1edfd8c2d04a13edf2d14fe1b38fc8f1a2502d 100644 (file)
@@ -20,6 +20,7 @@
 #include <linux/nfs_mount.h>
 #include <linux/nfs_page.h>
 #include <linux/backing-dev.h>
+#include <linux/export.h>
 
 #include <asm/uaccess.h>
 
index ad88f1c0a4c3f5d5f05173aafba65f143e6ec0f2..9c51aff02ae28f7b77d2da214a9057da8dc06518 100644 (file)
@@ -36,6 +36,7 @@
 
 #include <linux/slab.h>
 #include <linux/nfs_fs.h>
+#include <linux/export.h>
 #include "acl.h"
 
 
index db5ee4b4f47aaf36f698a004fbc99b0f3e722380..ad7d0c155de41a3912b5a6fa330b28ca48edf790 100644 (file)
@@ -59,6 +59,7 @@
 #include <linux/idr.h>
 #include <linux/kref.h>
 #include <linux/net.h>
+#include <linux/export.h>
 #include <net/tcp.h>
 
 #include <asm/uaccess.h>
index 56f82cb912e379e4149ab5454261a9bb6bdadf67..0e28e242226d8f69dfc638b8426c7700b8b1ba18 100644 (file)
@@ -30,6 +30,7 @@
 #include <linux/sysctl.h>
 #include <linux/spinlock.h>
 #include <linux/debugfs.h>
+#include <linux/export.h>
 
 #include "cluster/heartbeat.h"
 #include "cluster/nodemanager.h"
index cd99bf557650c4c727cdd9ac060ec28800a0ffe5..b0f450a2bb7cc4bef696ab23591da2a75c0c1ffb 100644 (file)
@@ -12,6 +12,7 @@
 #include <linux/user.h>
 #include <linux/elf.h>
 #include <linux/elfcore.h>
+#include <linux/export.h>
 #include <linux/slab.h>
 #include <linux/highmem.h>
 #include <linux/bootmem.h>