utils/nfsd: enable nfs minorvers4 by default
authorBenny Halevy <bhalevy@panasas.com>
Mon, 18 May 2009 14:50:11 +0000 (10:50 -0400)
committerSteve Dickson <steved@redhat.com>
Mon, 18 May 2009 14:50:11 +0000 (10:50 -0400)
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>
utils/nfsd/nfsd.c

index bd23d9d..e3c0094 100644 (file)
@@ -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