Defines common variables used on the client and server. --- --- linux-2.6.14-andros/include/linux/nfs4.h | 6 ++++++ linux-2.6.14-andros/include/linux/nfs_fs.h | 2 ++ 2 files changed, 8 insertions(+) diff -puN include/linux/nfs4.h~common include/linux/nfs4.h --- linux-2.6.14/include/linux/nfs4.h~common 2005-12-22 11:59:35.000000000 -0500 +++ linux-2.6.14-andros/include/linux/nfs4.h 2005-12-22 13:41:48.000000000 -0500 @@ -152,6 +152,11 @@ enum nfs_opnum4 { OP_VERIFY = 37, OP_WRITE = 38, OP_RELEASE_LOCKOWNER = 39, + OP_LAYOUTGET = 40, + OP_LAYOUTCOMMIT = 41, + OP_LAYOUTRETURN = 42, + OP_GETDEVICEINFO = 43, + OP_GETDEVICELIST = 44, OP_ILLEGAL = 10044, }; @@ -339,6 +344,7 @@ enum lock_type4 { #define FATTR4_WORD1_TIME_MODIFY (1UL << 21) #define FATTR4_WORD1_TIME_MODIFY_SET (1UL << 22) #define FATTR4_WORD1_MOUNTED_ON_FILEID (1UL << 23) +#define FATTR4_WORD1_FS_LAYOUT_TYPES (1UL << 24) #define NFSPROC4_NULL 0 #define NFSPROC4_COMPOUND 1 diff -puN include/linux/nfs_fs.h~common include/linux/nfs_fs.h --- linux-2.6.14/include/linux/nfs_fs.h~common 2005-12-22 11:59:35.000000000 -0500 +++ linux-2.6.14-andros/include/linux/nfs_fs.h 2005-12-22 11:59:35.000000000 -0500 @@ -587,6 +587,8 @@ extern void * nfs_root_data(void); #define NFSDBG_FILE 0x0040 #define NFSDBG_ROOT 0x0080 #define NFSDBG_CALLBACK 0x0100 +#define NFSDBG_IO 0x0200 +#define NFSDBG_PNFS 0x0400 #define NFSDBG_ALL 0xFFFF #ifdef __KERNEL__ _