nfsd41: control nfsv4.1 svc via /proc/fs/nfsd/versions
authorBenny Halevy <bhalevy@panasas.com>
Fri, 3 Apr 2009 05:28:59 +0000 (08:28 +0300)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Sat, 4 Apr 2009 00:41:21 +0000 (17:41 -0700)
commit8daf220a6a83c47b9648c28bb819c14c60bad7f9
treee762cf2c8f0b31dac96989ac14c4cc8756e1af1d
parent84459a1162801fb84734e5f9e6dc5194f791d69b
nfsd41: control nfsv4.1 svc via /proc/fs/nfsd/versions

Support enabling and disabling nfsv4.1 via /proc/fs/nfsd/versions
by writing the strings "+4.1" or "-4.1" correspondingly.

Use user mode nfs-utils (rpc.nfsd option) to enable.
This will allow us to get rid of CONFIG_NFSD_V4_1

[nfsd41: disable support for minorversion by default]
Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
fs/nfsd/nfs4proc.c
fs/nfsd/nfsctl.c
fs/nfsd/nfssvc.c
include/linux/nfsd/nfsd.h