]> git.karo-electronics.de Git - karo-tx-linux.git/commit
fs: add module.h to files that were implicitly using it
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 1 Jul 2011 18:23:34 +0000 (14:23 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Wed, 27 Jul 2011 23:09:07 +0000 (19:09 -0400)
commitd76e55da86bb45f6a8db03887dcc95dc0947a60e
tree0fcd85e36893e118bbe6b544c4a9e75a3628b1f2
parent990fa15d217e3f652aaf2a219ebe1d13cecd5e26
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>
fs/exofs/super.c
fs/logfs/super.c
fs/nfsd/nfssvc.c