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:
Casey Bodley 2011-09-14 11:49:34 -04:00 committed by unknown
parent d646e5c58c
commit f435606a16
8 changed files with 49 additions and 19 deletions

View file

@ -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;
}