linux/fs/nfsd
J. Bruce Fields 75c096f753 nfsd4: it's OK to return nfserr_symlink
The nfsd4 code has a bunch of special exceptions for error returns which
map nfserr_symlink to other errors.

In fact, the spec makes it clear that nfserr_symlink is to be preferred
over less specific errors where possible.

The patch that introduced it back in 2.6.4 is "kNFSd: correct symlink
related error returns.", which claims that these special exceptions are
represent an NFSv4 break from v2/v3 tradition--when in fact the symlink
error was introduced with v4.

I suspect what happened was pynfs tests were written that were overly
faithful to the (known-incomplete) rfc3530 error return lists, and then
code was fixed up mindlessly to make the tests pass.

Delete these unnecessary exceptions.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
2011-08-26 18:22:50 -04:00
..
acl.h
auth.c
auth.h
cache.h
export.c
idmap.h
Kconfig
lockd.c
Makefile
nfs2acl.c
nfs3acl.c
nfs3proc.c
nfs3xdr.c
nfs4acl.c
nfs4callback.c
nfs4idmap.c
nfs4proc.c nfsd4: it's OK to return nfserr_symlink 2011-08-26 18:22:50 -04:00
nfs4recover.c
nfs4state.c nfsd4: it's OK to return nfserr_symlink 2011-08-26 18:22:50 -04:00
nfs4xdr.c nfsd4: it's OK to return nfserr_symlink 2011-08-26 18:22:50 -04:00
nfscache.c
nfsctl.c
nfsd.h
nfsfh.c nfsd: clean up nfsd_mode_check() 2011-08-26 18:22:48 -04:00
nfsfh.h
nfsproc.c
nfssvc.c
nfsxdr.c
state.h nfsd4: fix seqid_mutating_error 2011-08-19 13:25:31 -04:00
stats.c
vfs.c nfsd4: fix incorrect comment in nfsd4_set_nfs4_acl 2011-08-26 18:22:49 -04:00
vfs.h
xdr3.h
xdr4.h
xdr.h