patch-2.3.99-pre4 linux/include/linux/nfsd/const.h

Next file: linux/include/linux/pci.h
Previous file: linux/include/linux/nfs_xdr.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre3/linux/include/linux/nfsd/const.h linux/include/linux/nfsd/const.h
@@ -10,6 +10,8 @@
 #define _LINUX_NFSD_CONST_H
 
 #include <linux/nfs.h>
+#include <linux/nfs2.h>
+#include <linux/nfs3.h>
 
 /*
  * Maximum protocol version supported by knfsd
@@ -20,18 +22,6 @@
  * Maximum blocksize supported by daemon currently at 8K
  */
 #define NFSSVC_MAXBLKSIZE	8192
-
-#define NFS2_MAXPATHLEN		1024
-#define NFS2_MAXNAMLEN		255
-#define NFS2_FHSIZE		NFS_FHSIZE
-#define NFS2_COOKIESIZE		4
-
-#define NFS3_MAXPATHLEN		PATH_MAX
-#define NFS3_MAXNAMLEN		NAME_MAX
-#define NFS3_FHSIZE		64
-#define NFS3_COOKIEVERFSIZE	8
-#define NFS3_CREATEVERFSIZE	8
-#define NFS3_WRITEVERFSIZE	8
 
 #ifdef __KERNEL__
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)