summaryrefslogtreecommitdiffstats
path: root/fs/exofs
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-07-01 14:23:34 -0400
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-10-31 19:30:31 -0400
commit143cb494cb6662e37c4020b7fe9839837f718e56 (patch)
tree249abcf5afe251a9244a414f9d66c73b9458274e /fs/exofs
parentafeacc8c1f38b7bb93d4bc7b4ba04c2605061ef0 (diff)
downloadlinux-143cb494cb6662e37c4020b7fe9839837f718e56.tar.gz
linux-143cb494cb6662e37c4020b7fe9839837f718e56.tar.bz2
linux-143cb494cb6662e37c4020b7fe9839837f718e56.zip
fs: add module.h to files that were implicitly using it
Some files were using the complete module.h infrastructure without actually including the header at all. Fix them up in advance so once the implicit presence is removed, we won't get failures like this: CC [M] fs/nfsd/nfssvc.o fs/nfsd/nfssvc.c: In function 'nfsd_create_serv': fs/nfsd/nfssvc.c:335: error: 'THIS_MODULE' undeclared (first use in this function) fs/nfsd/nfssvc.c:335: error: (Each undeclared identifier is reported only once fs/nfsd/nfssvc.c:335: error: for each function it appears in.) fs/nfsd/nfssvc.c: In function 'nfsd': fs/nfsd/nfssvc.c:555: error: implicit declaration of function 'module_put_and_exit' make[3]: *** [fs/nfsd/nfssvc.o] Error 1 Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'fs/exofs')
-rw-r--r--fs/exofs/ore.c1
-rw-r--r--fs/exofs/super.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/fs/exofs/ore.c b/fs/exofs/ore.c
index fcfa86ae6faf..d271ad837202 100644
--- a/fs/exofs/ore.c
+++ b/fs/exofs/ore.c
@@ -23,6 +23,7 @@
*/
#include <linux/slab.h>
+#include <linux/module.h>
#include <asm/div64.h>
#include <linux/lcm.h>
diff --git a/fs/exofs/super.c b/fs/exofs/super.c
index 057b237b8b69..e6085ec192d6 100644
--- a/fs/exofs/super.c
+++ b/fs/exofs/super.c
@@ -35,6 +35,7 @@
#include <linux/parser.h>
#include <linux/vfs.h>
#include <linux/random.h>
+#include <linux/module.h>
#include <linux/exportfs.h>
#include <linux/slab.h>