]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC: r316667
authorrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 26 Apr 2017 23:32:57 +0000 (23:32 +0000)
committerrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 26 Apr 2017 23:32:57 +0000 (23:32 +0000)
commit006267574d413aad4c0ea661971987eea23c19f9
tree0d96d419a8c4c1c304c251078f55b06e894e3930
parent6b70fc6fc78b94733ac54dfac0b5b855ec29d7cf
MFC: r316667
Fix the NFSv4 client hndling of a stale write verifier in the Commit operation.

When the NFSv4 client Commit operation encountered a stale write verifier,
it erroneously mapped that to EIO. This could have caused recently written
data to be lost when a server crashes/reboots between an UNSTABLE write
and the subsequent commit. This patch fixes this.
The bug was only for the NFSv4 client and did not affect NFSv3.

git-svn-id: svn://svn.freebsd.org/base/stable/9@317477 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/fs/nfsclient/nfs_clport.c