Skip to content

Commit

Permalink
nfsd: Fix independence of a few nfsd related headers
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Boaz Harrosh authored and J. Bruce Fields committed Dec 14, 2009
1 parent a600ffc commit d703158
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions include/linux/nfs_xdr.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#define _LINUX_NFS_XDR_H

#include <linux/nfsacl.h>
#include <linux/nfs3.h>

/*
* To change the maximum rsize and wsize supported by the NFS client, adjust
Expand Down
1 change: 1 addition & 0 deletions include/linux/nfsacl.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#ifdef __KERNEL__

#include <linux/posix_acl.h>
#include <linux/sunrpc/xdr.h>

/* Maximum number of ACL entries over NFS */
#define NFS_ACL_MAX_ENTRIES 1024
Expand Down

0 comments on commit d703158

Please sign in to comment.