Merge branch 'maint'
authorAndre Noll <maan@tuebingen.mpg.de>
Mon, 13 Nov 2017 16:23:14 +0000 (17:23 +0100)
committerAndre Noll <maan@tuebingen.mpg.de>
Mon, 13 Nov 2017 16:23:14 +0000 (17:23 +0100)
* maint:
  Fix snapshot removal reason.

dss.c

diff --git a/dss.c b/dss.c
index 3e626ab..ecd6ac3 100644 (file)
--- 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;