]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC: r225049
authorrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 3 Sep 2011 01:45:37 +0000 (01:45 +0000)
committerrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 3 Sep 2011 01:45:37 +0000 (01:45 +0000)
commit00d8075c4fcf17226c72faf598853b8c77fa483f
treef433b4838163874c3871d1ec5a5e8a646a546b40
parentedb86988e1f2cdfe1a86ac21da869a6b1a6f5e65
MFC: r225049
Fix the NFSv4 server so that it returns NFSERR_SYMLINK when
an attempt to do an Open operation on any type of file other
than VREG is done. A recent discussion on the IETF working group's
mailing list (nfsv4@ietf.org) decided that NFSERR_SYMLINK
should be returned for all non-regular files and not just symlinks,
so that the Linux client would work correctly.
This change does not affect the FreeBSD NFSv4 client and is not
believed to have a negative effect on other NFSv4 clients.

git-svn-id: svn://svn.freebsd.org/base/stable/8@225358 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/fs/nfsserver/nfs_nfsdserv.c