From 75094a8ba8dfbb8f072e9bb0a8a01fb91e9a24a2 Mon Sep 17 00:00:00 2001 From: ihsinme Date: Thu, 25 Feb 2021 00:37:14 +0300 Subject: [PATCH] fix loop with unreachable exit condition the essence of the error lies in a possible hit in the eternal cycle while, when exiting the higher cycle by means of break. Signed-off-by: Sergey Valentey --- server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.c b/server.c index 1b65297e..8daefbab 100644 --- a/server.c +++ b/server.c @@ -1909,7 +1909,7 @@ static int fio_append_iolog_gz(struct sk_entry *first, struct io_log *log) break; } flist_add_tail(&entry->list, &first->next); - } while (ret != Z_STREAM_END); + } ret = deflateEnd(&stream); if (ret == Z_OK) -- 2.25.1