summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfs4xdr.c
diff options
context:
space:
mode:
authorSteve Dickson <steved@redhat.com>2013-05-02 13:18:57 -0400
committerJ. Bruce Fields <bfields@redhat.com>2013-05-13 10:11:47 -0400
commit4bdc33ed5bd9fbaa243bda6fdccb22674aed6305 (patch)
treea8512304daac5ddad9f065aaae494de2a08efa00 /fs/nfsd/nfs4xdr.c
parent0d422afb892e3f993cf934b76a2c2ef839c446e0 (diff)
downloadblackbird-op-linux-4bdc33ed5bd9fbaa243bda6fdccb22674aed6305.tar.gz
blackbird-op-linux-4bdc33ed5bd9fbaa243bda6fdccb22674aed6305.zip
NFSDv4.2: Add NFS v4.2 support to the NFS server
This enables NFSv4.2 support for the server. To enable this code do the following: echo "+4.2" >/proc/fs/nfsd/versions after the nfsd kernel module is loaded. On its own this does nothing except allow the server to respond to compounds with minorversion set to 2. All the new NFSv4.2 features are optional, so this is perfectly legal. Signed-off-by: Steve Dickson <steved@redhat.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfs4xdr.c')
-rw-r--r--fs/nfsd/nfs4xdr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfsd/nfs4xdr.c b/fs/nfsd/nfs4xdr.c
index 6cd86e0fe450..9aeacddafa3f 100644
--- a/fs/nfsd/nfs4xdr.c
+++ b/fs/nfsd/nfs4xdr.c
@@ -1567,6 +1567,7 @@ struct nfsd4_minorversion_ops {
static struct nfsd4_minorversion_ops nfsd4_minorversion[] = {
[0] = { nfsd4_dec_ops, ARRAY_SIZE(nfsd4_dec_ops) },
[1] = { nfsd41_dec_ops, ARRAY_SIZE(nfsd41_dec_ops) },
+ [2] = { nfsd41_dec_ops, ARRAY_SIZE(nfsd41_dec_ops) },
};
static __be32
OpenPOWER on IntegriCloud