]> git.baikalelectronics.ru Git - kernel.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>
Mon, 31 Oct 2011 23:30:31 +0000 (19:30 -0400)
commit52b93dddcc09a0c0db771dd1f231538c088d58a2
tree249abcf5afe251a9244a414f9d66c73b9458274e
parent17596a4b39c20259a5e2d26a8a887994ced4cd4f
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/cifs/connect.c
fs/exofs/ore.c
fs/exofs/super.c
fs/fuse/cuse.c
fs/logfs/super.c
fs/nfs/nfs4filelayout.c
fs/nfs/pnfs.c
fs/nfsd/nfsctl.c
fs/nfsd/nfssvc.c