diff options
author | J. Bruce Fields <bfields@citi.umich.edu> | 2011-09-20 07:40:15 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2011-09-20 07:41:36 -0400 |
commit | fe34ff0312c7c22554087ecd78bbbeadb38ce195 (patch) | |
tree | f8c8690404b011c812696cce5b79bdfad4b5cd99 /support/include/nfs/nfs.h | |
parent | 10e9c07a18d7c8635def61ea19adbc47f2934853 (diff) | |
download | nfs-utils-fe34ff0312c7c22554087ecd78bbbeadb38ce195.tar.gz nfs-utils-fe34ff0312c7c22554087ecd78bbbeadb38ce195.tar.xz nfs-utils-fe34ff0312c7c22554087ecd78bbbeadb38ce195.zip |
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>
Diffstat (limited to 'support/include/nfs/nfs.h')
-rw-r--r-- | support/include/nfs/nfs.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/support/include/nfs/nfs.h b/support/include/nfs/nfs.h index c939d78..320880e 100644 --- a/support/include/nfs/nfs.h +++ b/support/include/nfs/nfs.h @@ -15,13 +15,6 @@ #define NFSD_MINVERS 2 #define NFSD_MAXVERS 4 -#define NFSD_MINMINORVERS4 1 -#ifdef NFS41_SUPPORTED -#define NFSD_MAXMINORVERS4 1 -#else -#define NFSD_MAXMINORVERS4 0 -#endif - struct nfs_fh_len { int fh_size; u_int8_t fh_handle[NFS3_FHSIZE]; |