[PATCH] ARM: Fix VFP to use do_div()
[linux-2.6/verdex.git] / include / linux / nfsd / const.h
blobb75bb1b38d09a244dcb46f569828424105dc3834
1 /*
2 * include/linux/nfsd/const.h
4 * Various constants related to NFS.
6 * Copyright (C) 1995-1997 Olaf Kirch <okir@monad.swb.de>
7 */
9 #ifndef _LINUX_NFSD_CONST_H
10 #define _LINUX_NFSD_CONST_H
12 #include <linux/nfs.h>
13 #include <linux/nfs2.h>
14 #include <linux/nfs3.h>
15 #include <linux/nfs4.h>
18 * Maximum protocol version supported by knfsd
20 #define NFSSVC_MAXVERS 3
23 * Maximum blocksize supported by daemon currently at 32K
25 #define NFSSVC_MAXBLKSIZE (32*1024)
27 #ifdef __KERNEL__
29 #ifndef NFS_SUPER_MAGIC
30 # define NFS_SUPER_MAGIC 0x6969
31 #endif
33 #define NFSD_BUFSIZE (1024 + NFSSVC_MAXBLKSIZE)
35 #ifdef CONFIG_NFSD_V4
36 # define NFSSVC_XDRSIZE NFS4_SVC_XDRSIZE
37 #elif defined(CONFIG_NFSD_V3)
38 # define NFSSVC_XDRSIZE NFS3_SVC_XDRSIZE
39 #else
40 # define NFSSVC_XDRSIZE NFS2_SVC_XDRSIZE
41 #endif
43 #endif /* __KERNEL__ */
45 #endif /* _LINUX_NFSD_CONST_H */