浏览代码

nfsd: default NFSv4.2 to on

The code seems to work.  The protocol looks stable.  The kernel's
version defaults can be overridden by rpc.nfsd arguments.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
J. Bruce Fields 11 年之前
父节点
当前提交
c23ae60178
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      fs/nfsd/nfssvc.c

+ 1 - 0
fs/nfsd/nfssvc.c

@@ -119,6 +119,7 @@ struct svc_program		nfsd_program = {
 static bool nfsd_supported_minorversions[NFSD_SUPPORTED_MINOR_VERSION + 1] = {
 static bool nfsd_supported_minorversions[NFSD_SUPPORTED_MINOR_VERSION + 1] = {
 	[0] = 1,
 	[0] = 1,
 	[1] = 1,
 	[1] = 1,
+	[2] = 1,
 };
 };
 
 
 int nfsd_vers(int vers, enum vers_op change)
 int nfsd_vers(int vers, enum vers_op change)