From: Paul Gortmaker Date: Fri, 1 Jul 2011 18:23:34 +0000 (-0400) Subject: fs: add module.h to files that were implicitly using it X-Git-Tag: next-20110826~3^2~181 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=fcf15e44e3c8f64c7bc93b1c0a74e296af4ecae4;p=karo-tx-linux.git 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 --- diff --git a/fs/exofs/super.c b/fs/exofs/super.c index 274894053b02..60ffa354ad22 100644 --- a/fs/exofs/super.c +++ b/fs/exofs/super.c @@ -35,6 +35,7 @@ #include #include #include +#include #include #include diff --git a/fs/logfs/super.c b/fs/logfs/super.c index ce03a182c771..b9b3154b0485 100644 --- a/fs/logfs/super.c +++ b/fs/logfs/super.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include #include diff --git a/fs/nfsd/nfssvc.c b/fs/nfsd/nfssvc.c index dc5a1bf476b1..4b8e828ae15f 100644 --- a/fs/nfsd/nfssvc.c +++ b/fs/nfsd/nfssvc.c @@ -8,6 +8,7 @@ #include #include +#include #include #include