From 9f13174209805996408a614a396c3ba7f0bac6a7 Mon Sep 17 00:00:00 2001 From: Olivier Houchard Date: Tue, 28 Feb 2017 23:24:08 +0000 Subject: [PATCH] Import CK as of commit 24d26965d1a28039062ba3bcf9433b623f3d2c5e, to get a fix in ck_epoch --- src/ck_epoch.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ck_epoch.c b/src/ck_epoch.c index 7cddfa7597c..a0e9180a1fd 100644 --- a/src/ck_epoch.c +++ b/src/ck_epoch.c @@ -309,11 +309,12 @@ ck_epoch_scan(struct ck_epoch *global, { ck_stack_entry_t *cursor; - *af = false; if (cr == NULL) { cursor = CK_STACK_FIRST(&global->records); + *af = false; } else { cursor = &cr->record_next; + *af = true; } while (cursor != NULL) {