From 3dd2e8aa0519225da5ccc100aa02e55306bcc2f3 Mon Sep 17 00:00:00 2001 From: Dylan Fairchild Date: Thu, 2 Feb 2017 10:37:00 -0800 Subject: [PATCH] fix to replay_align on iolog previous code was rejecting all positive alignment values and only accepting align to 0 value, opposite of what it should be doing --- iolog.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iolog.h b/iolog.h index 60ee3e92..37f27bca 100644 --- a/iolog.h +++ b/iolog.h @@ -271,7 +271,7 @@ static inline bool inline_log(struct io_log *log) static inline void ipo_bytes_align(unsigned int replay_align, struct io_piece *ipo) { - if (replay_align) + if (!replay_align) return; ipo->offset &= ~(replay_align - (uint64_t)1); -- 2.25.1