summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfssvc.c
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2015-01-12 14:52:15 -0500
committerJ. Bruce Fields <bfields@redhat.com>2015-02-09 14:58:50 -0500
commitc23ae6017835b5bc9b9ec9d5d9c2b1523053f503 (patch)
treef9272911b1a9cd11e10b7403e6d984f1cadbda56 /fs/nfsd/nfssvc.c
parent8650b8a058502d6957ba13dfb5544724fa038118 (diff)
downloadlinux-c23ae6017835b5bc9b9ec9d5d9c2b1523053f503.tar.bz2
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>
Diffstat (limited to 'fs/nfsd/nfssvc.c')
-rw-r--r--fs/nfsd/nfssvc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfsd/nfssvc.c b/fs/nfsd/nfssvc.c
index 314f5c8f8f1a..9277cc91c21b 100644
--- a/fs/nfsd/nfssvc.c
+++ b/fs/nfsd/nfssvc.c
@@ -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)