summaryrefslogtreecommitdiff
path: root/fs/file.c
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-11-16 23:57:37 -0500
committerPaul Gortmaker <paul.gortmaker@windriver.com>2012-02-28 19:31:58 -0500
commit630d9c47274aa89bfa77fe6556d7818bdcb12992 (patch)
tree501b418c3c89d4c80113aa2fdbbc917eedacd2d4 /fs/file.c
parent13ae246db4a02971ef4f557af1f6d3e21d64b710 (diff)
downloadlwn-630d9c47274aa89bfa77fe6556d7818bdcb12992.tar.gz
lwn-630d9c47274aa89bfa77fe6556d7818bdcb12992.zip
fs: reduce the use of module.h wherever possible
For files only using THIS_MODULE and/or EXPORT_SYMBOL, map them onto including export.h -- or if the file isn't even using those, then just delete the include. Fix up any implicit include dependencies that were being masked by module.h along the way. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'fs/file.c')
-rw-r--r--fs/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/file.c b/fs/file.c
index 4c6992d8f3ba..3c426de7203a 100644
--- a/fs/file.c
+++ b/fs/file.c
@@ -6,7 +6,7 @@
* Manage the dynamic fd arrays in the process files_struct.
*/
-#include <linux/module.h>
+#include <linux/export.h>
#include <linux/fs.h>
#include <linux/mm.h>
#include <linux/mmzone.h>