nfsd: default NFSv4.2 to on
authorJ. Bruce Fields <bfields@redhat.com>
Mon, 12 Jan 2015 19:52:15 +0000 (14:52 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 9 Feb 2015 19:58:50 +0000 (14:58 -0500)
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>
fs/nfsd/nfssvc.c

index 314f5c8f8f1a9cfdef6cc075a9c4bb5350deec9b..9277cc91c21b051011c4dbfe4d677b32d37ad37f 100644 (file)
@@ -119,6 +119,7 @@ struct svc_program          nfsd_program = {
 static bool nfsd_supported_minorversions[NFSD_SUPPORTED_MINOR_VERSION + 1] = {
        [0] = 1,
        [1] = 1,
+       [2] = 1,
 };
 
 int nfsd_vers(int vers, enum vers_op change)