summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenny Halevy <bhalevy@panasas.com>2009-05-18 10:50:11 -0400
committerSteve Dickson <steved@redhat.com>2009-05-18 10:50:11 -0400
commitc88c4091db87c0fc23ed67e76d63439b59a82369 (patch)
treef48ac7f8ba90722ecfa21a32ccd09ba9e3411a94
parent7bd86b3cfb0d929ce1dae2b937c3ac9048e23644 (diff)
downloadnfs-utils-c88c4091db87c0fc23ed67e76d63439b59a82369.tar.gz
nfs-utils-c88c4091db87c0fc23ed67e76d63439b59a82369.tar.xz
nfs-utils-c88c4091db87c0fc23ed67e76d63439b59a82369.zip
utils/nfsd: enable nfs minorvers4 by default
Enable support for the maximum minor version (4.1 at the moment) by default. It can be disabled using the -N command line option. Signed-off-by: Benny Halevy <bhalevy@panasas.com> Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r--utils/nfsd/nfsd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/nfsd/nfsd.c b/utils/nfsd/nfsd.c
index bd23d9d..e3c0094 100644
--- a/utils/nfsd/nfsd.c
+++ b/utils/nfsd/nfsd.c
@@ -41,7 +41,7 @@ static struct option longopts[] =
};
unsigned int protobits = NFSCTL_ALLBITS;
unsigned int versbits = NFSCTL_ALLBITS;
-int minorvers4; /* nfsv4 minor version */
+int minorvers4 = NFSD_MAXMINORVERS4; /* nfsv4 minor version */
char *haddr = NULL;
int