]> git.decadent.org.uk Git - nfs-utils.git/commit
nfsd: allow choosing server 41 support at runtime
authorJ. Bruce Fields <bfields@citi.umich.edu>
Tue, 20 Sep 2011 11:40:15 +0000 (07:40 -0400)
committerLuk Claes <luk@debian.org>
Sun, 2 Oct 2011 14:16:48 +0000 (16:16 +0200)
commit2a961f78fcad01bae0d9cf60f648549d98b3d723
treeb335854535741f0ad80ea98524c04d67e0a98268
parente9edb3ecacc3b79dd7c0c92eb42b7ec859bb2cb9
nfsd: allow choosing server 41 support at runtime

In the case where -N 4.1 is left off the commandline, the current code
explicitly turns it on or off anyway, depending on configure options.

Instead, just leave 4.1 support alone.  This allows a user to add an
"echo +4.1 >/proc/fs/nfsd/versions" to their init scripts, if they want.
Otherwise they will get the kernel's default (currently to leave 4.1
off, as long as 4.1 support is experimental).

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Steve Dickson <steved@redhat.com>
support/include/nfs/nfs.h
utils/nfsd/nfsd.c
utils/nfsd/nfssvc.c