check write verifiers on COMMIT
we were previously only verifying that the server didn't reboot between WRITEs. COMMIT returns a verifier that needs to be checked as well Signed-off-by: Casey Bodley <cbodley@citi.umich.edu>
This commit is contained in:
parent
d646e5c58c
commit
f435606a16
8 changed files with 49 additions and 19 deletions
|
|
@ -1302,7 +1302,7 @@ static bool_t decode_op_commit(
|
|||
return FALSE;
|
||||
|
||||
if (res->status == NFS4_OK)
|
||||
return xdr_opaque(xdr, (char *)res->writeverf, NFS4_VERIFIER_SIZE);
|
||||
return xdr_opaque(xdr, (char *)res->verf->verf, NFS4_VERIFIER_SIZE);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue