linux-next/include/linux/nfsd
Boaz Harrosh 72579ac9cd nfsd: Headers Independence and include cleanups
* Add includes that are directly used by headers
* Remove includes that are not needed

These are the changes made:

[xdr.h]
struct nfsd_readdirres has an embedded struct readdir_cd from nfsd.h
fixing that we can drop other includes

[xdr4.h]
embedded types defined both at state.h and nfsd.h

[syscall.h]
After export.h fix none of these stuff is needed.
fix extra space in # include <> statement

[stats.h]
does not need <linux/nfs4.h> but was export to user-mode
so I don't touch it

[state.h]
embedded types from nfsfh.h like struct knfsd_fh. bringing that
eliminates the need for all other includes

[nfsfh.h]
directly manipulating types from sunrpc/svc.h.
Removed Other unused headers.

[nfsd.h]
removed unused headers include

[export.h]
lots of sunrpc/svc.h types and a single prototype declaration
with pointer from nfsfh.h, but all users of export.h do need
nfsfh.h any way. remove now un-needed include.

[const.h]
Unfixed (not independent)

[cache.h]
could do with a forward declaration of "struct svc_rqst;"
from sunrpc/svc.h but all users absolutely will need
sunrpc/svc.h it is easier overall this way.

Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
2009-12-14 18:12:09 -05:00
..
cache.h nfsd: Headers Independence and include cleanups 2009-12-14 18:12:09 -05:00
const.h [PATCH] include/linux/nfsd/const.h: remove NFS_SUPER_MAGIC 2007-02-12 09:48:36 -08:00
debug.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
export.h nfsd: Headers Independence and include cleanups 2009-12-14 18:12:09 -05:00
Kbuild NFSD: Strip __KERNEL__ testing from unexported header files. 2008-04-23 16:13:41 -04:00
nfsd.h nfsd: Headers Independence and include cleanups 2009-12-14 18:12:09 -05:00
nfsfh.h nfsd: Headers Independence and include cleanups 2009-12-14 18:12:09 -05:00
state.h nfsd: Headers Independence and include cleanups 2009-12-14 18:12:09 -05:00
stats.h Fix a build warning about leaking CONFIG_NFSD to userspace. 2009-03-27 19:48:36 -04:00
syscall.h nfsd: Headers Independence and include cleanups 2009-12-14 18:12:09 -05:00
xdr3.h NFSD: Path name length signage in nfsd request argument structures 2008-02-01 16:42:03 -05:00
xdr4.h nfsd: Headers Independence and include cleanups 2009-12-14 18:12:09 -05:00
xdr.h nfsd: Headers Independence and include cleanups 2009-12-14 18:12:09 -05:00