summaryrefslogtreecommitdiffstats
path: root/fs/stat.c
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-11-17 05:57:37 +0100
committerPaul Gortmaker <paul.gortmaker@windriver.com>2012-02-29 01:31:58 +0100
commit630d9c47274aa89bfa77fe6556d7818bdcb12992 (patch)
tree501b418c3c89d4c80113aa2fdbbc917eedacd2d4 /fs/stat.c
parentincludecheck: delete any duplicate instances of module.h (diff)
downloadlinux-630d9c47274aa89bfa77fe6556d7818bdcb12992.tar.xz
linux-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/stat.c')
-rw-r--r--fs/stat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/stat.c b/fs/stat.c
index 8806b8997d2e..c9dfa296b0c3 100644
--- a/fs/stat.c
+++ b/fs/stat.c
@@ -4,7 +4,7 @@
* Copyright (C) 1991, 1992 Linus Torvalds
*/
-#include <linux/module.h>
+#include <linux/export.h>
#include <linux/mm.h>
#include <linux/errno.h>
#include <linux/file.h>