]> git.tuebingen.mpg.de Git - dss.git/commitdiff
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 3e626ab0113b1890277da115ea6c735dbdb690d7..ecd6ac35273c5fb04ab55fda8243204094532e86 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;