From: Andre Noll Date: Thu, 7 Feb 2019 20:40:43 +0000 (+0100) Subject: Improve comment of snapshot_currently_being_removed. X-Git-Tag: v1.0.1~8 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=56f81b0dfa62bb5bf2c338733d9370a8b11bfc39;p=dss.git Improve comment of snapshot_currently_being_removed. The old comment did not provide any information at all.. --- diff --git a/dss.c b/dss.c index 8f632cb..c2aef36 100644 --- a/dss.c +++ b/dss.c @@ -81,7 +81,7 @@ static int64_t next_snapshot_time; static struct timeval next_removal_check; /** Creation time of the snapshot currently being created. */ static int64_t current_snapshot_creation_time; -/** The snapshot currently being removed. */ +/* Set by the pre-rm hook, cleared by handle_remove_exit(). */ struct snapshot *snapshot_currently_being_removed; /** Needed by the post-create hook. */ static char *path_to_last_complete_snapshot;