]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC: r316667
authorrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 25 Apr 2017 19:48:25 +0000 (19:48 +0000)
committerrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 25 Apr 2017 19:48:25 +0000 (19:48 +0000)
commitfa09747eeddf6fa42c427f1aa9218d62f0d7a1fa
tree2577624464b2c07eea787ee80431cd370bd18638
parent6c08123f961afb76d1f75f3c1b63f30a4961212e
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/10@317420 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/fs/nfsclient/nfs_clport.c