summaryrefslogtreecommitdiffstats
path: root/support/include/nfs
diff options
context:
space:
mode:
authorSteve Dickson <steved@redhat.com>2013-08-19 12:49:44 -0400
committerSteve Dickson <steved@redhat.com>2013-08-19 13:04:50 -0400
commit12a590f8d556c00a9502eeebaa763d906222d521 (patch)
tree2d2c6e2fcc702d6adc39acac543602ddf3f7de16 /support/include/nfs
parent6b4e4965a6b82e8d49cea1c0316b951ba4e9e83e (diff)
downloadnfs-utils-12a590f8d556c00a9502eeebaa763d906222d521.tar.gz
nfs-utils-12a590f8d556c00a9502eeebaa763d906222d521.tar.xz
nfs-utils-12a590f8d556c00a9502eeebaa763d906222d521.zip
rpc.nfsd: Allow v4.2 server support with the -V option
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support/include/nfs')
-rw-r--r--support/include/nfs/nfs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/support/include/nfs/nfs.h b/support/include/nfs/nfs.h
index 5fd86f6..38db5b5 100644
--- a/support/include/nfs/nfs.h
+++ b/support/include/nfs/nfs.h
@@ -15,6 +15,10 @@
#define NFSD_MINVERS 2
#define NFSD_MAXVERS 4
+#define NFS4_MINMINOR 1
+#define NFS4_MAXMINOR 2
+#define NFS4_VERDEFAULT 0x1 /* minor verion 1 */
+
struct nfs_fh_len {
int fh_size;
u_int8_t fh_handle[NFS3_FHSIZE];