From: Andre Noll Date: Mon, 13 Nov 2017 16:23:14 +0000 (+0100) Subject: Merge branch 'maint' X-Git-Tag: v1.0.0~19 X-Git-Url: http://git.tuebingen.mpg.de/?p=dss.git;a=commitdiff_plain;h=e64460eb7c840399e46fc54da3b348fee33e550d;hp=dead9f9151ae2cf14c45e87742284e165976e8c0 Merge branch 'maint' * maint: Fix snapshot removal reason. --- diff --git a/dss.c b/dss.c index 3e626ab..ecd6ac3 100644 --- a/dss.c +++ b/dss.c @@ -729,6 +729,7 @@ static int try_to_free_disk_space(void) if (!low_disk_space) goto out; DSS_WARNING_LOG(("disk space low and nothing obvious to remove\n")); + why = "oldest"; victim = find_oldest_removable_snapshot(&sl); if (victim) goto remove;