diff options
author | J. Bruce Fields <bfields@redhat.com> | 2011-01-11 14:07:12 -0500 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2011-01-13 21:04:07 -0500 |
commit | 9ce137eee4febaabca81143be07d4205d2bd52d4 (patch) | |
tree | e52e5225e1d113164382bf85bca83a2c0330d64e /fs/nfsd/export.c | |
parent | 9ee1ba5402e9d35fb35f8e61c968f4987b5fb443 (diff) | |
download | op-kernel-dev-9ce137eee4febaabca81143be07d4205d2bd52d4.zip op-kernel-dev-9ce137eee4febaabca81143be07d4205d2bd52d4.tar.gz |
nfsd: don't support msnfs export option
We've long had these pointless #ifdef MSNFS's sprinkled throughout the
code--pointless because MSNFS is always defined (and we give no config
option to make that easy to change). So we could just remove the
ifdef's and compile the resulting code unconditionally.
But as long as we're there: why not just rip out this code entirely?
The only purpose is to implement the "msnfs" export option which turns
on Windows-like behavior in some cases, and:
- the export option isn't documented anywhere;
- the userland utilities (which would need to be able to parse
"msnfs" in an export file) don't support it;
- I don't know how to maintain this, as I don't know what the
proper behavior is; and
- google shows no evidence that anyone has ever used this.
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/export.c')
-rw-r--r-- | fs/nfsd/export.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/nfsd/export.c b/fs/nfsd/export.c index c0fcb7a..8b31e5f 100644 --- a/fs/nfsd/export.c +++ b/fs/nfsd/export.c @@ -1,4 +1,3 @@ -#define MSNFS /* HACK HACK */ /* * NFS exporting and validation. * @@ -1444,9 +1443,6 @@ static struct flags { { NFSEXP_NOSUBTREECHECK, {"no_subtree_check", ""}}, { NFSEXP_NOAUTHNLM, {"insecure_locks", ""}}, { NFSEXP_V4ROOT, {"v4root", ""}}, -#ifdef MSNFS - { NFSEXP_MSNFS, {"msnfs", ""}}, -#endif { 0, {"", ""}} }; |