From 0f9ed6bd1b396608f8bad7568a9fae85534adc2b Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Mon, 7 Dec 2015 10:45:57 -0700 Subject: [PATCH] verify: fix header verification version check Signed-off-by: Jens Axboe --- verify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.25.1