From 946b0e9799985b7204076c5a6051456a44b6a04d Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Thu, 25 Mar 2010 14:43:20 +0100 Subject: [PATCH] Don't invalidate current_snapshot_time during compute_next_snapshot_time(). This bug could lead to snapshots with creation time Jan 1 1970. --- dss.c | 1 - 1 file changed, 1 deletion(-) diff --git a/dss.c b/dss.c index 0a2f55b..347268e 100644 --- a/dss.c +++ b/dss.c @@ -161,7 +161,6 @@ static int64_t compute_next_snapshot_time(void) struct snapshot *s = NULL; struct snapshot_list sl; - current_snapshot_creation_time = 0; dss_get_snapshot_list(&sl); FOR_EACH_SNAPSHOT(s, i, &sl) { if (!(s->flags & SS_COMPLETE)) -- 2.39.5