nfsd: Fix independence of a few nfsd related headers

An header should be compilation independent, .i.e pull in
any header who's declarations are directly used by this header.
And not let users re-include all it's dependencies all over
again.

[At the end of the day what's the use of a header if it does
 not have more then one user?]

Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
This commit is contained in:
Boaz Harrosh 2009-12-03 20:28:47 +02:00 committed by J. Bruce Fields
parent a600ffcbb3
commit d703158229
2 changed files with 2 additions and 0 deletions

View file

@ -2,6 +2,7 @@
#define _LINUX_NFS_XDR_H #define _LINUX_NFS_XDR_H
#include <linux/nfsacl.h> #include <linux/nfsacl.h>
#include <linux/nfs3.h>
/* /*
* To change the maximum rsize and wsize supported by the NFS client, adjust * To change the maximum rsize and wsize supported by the NFS client, adjust

View file

@ -29,6 +29,7 @@
#ifdef __KERNEL__ #ifdef __KERNEL__
#include <linux/posix_acl.h> #include <linux/posix_acl.h>
#include <linux/sunrpc/xdr.h>
/* Maximum number of ACL entries over NFS */ /* Maximum number of ACL entries over NFS */
#define NFS_ACL_MAX_ENTRIES 1024 #define NFS_ACL_MAX_ENTRIES 1024