From: Jens Axboe Date: Mon, 7 Dec 2015 17:45:57 +0000 (-0700) Subject: verify: fix header verification version check X-Git-Tag: fio-2.2.13~41 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=0f9ed6bd1b396608f8bad7568a9fae85534adc2b verify: fix header verification version check Signed-off-by: Jens Axboe --- diff --git a/verify.c b/verify.c index 19bec75a..268c0603 100644 --- a/verify.c +++ b/verify.c @@ -1603,7 +1603,7 @@ int verify_state_hdr(struct verify_state_hdr *hdr, struct thread_io_list *s, hdr->size = le64_to_cpu(hdr->size); hdr->crc = le64_to_cpu(hdr->crc); - if (hdr->version != VSTATE_HDR_VERSION || + if (hdr->version != VSTATE_HDR_VERSION && hdr->version != VSTATE_HDR_VERSION_V1) return 1;