]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd: don't support msnfs export option
authorJ. Bruce Fields <bfields@redhat.com>
Tue, 11 Jan 2011 19:07:12 +0000 (14:07 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 14 Jan 2011 02:04:07 +0000 (21:04 -0500)
commit5ed3bee11c16e09930ba9dca5350304c27e3768e
treee52e5225e1d113164382bf85bca83a2c0330d64e
parentecb42f68dd7f4ba5b625be587cd61cb81b85cd73
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>
fs/nfsd/export.c
fs/nfsd/vfs.c
include/linux/nfsd/export.h