From: Benny Halevy Date: Mon, 18 May 2009 14:50:11 +0000 (-0400) Subject: utils/nfsd: enable nfs minorvers4 by default X-Git-Tag: nfs-utils-1-1-7-rc1~6 X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=commitdiff_plain;h=c88c4091db87c0fc23ed67e76d63439b59a82369 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 Signed-off-by: Steve Dickson --- 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