Ignore any snapshot directory with creation time > completion time.
authorAndre Noll <maan@systemlinux.org>
Thu, 6 Nov 2008 08:52:28 +0000 (09:52 +0100)
committerAndre Noll <maan@systemlinux.org>
Thu, 6 Nov 2008 08:52:28 +0000 (09:52 +0100)
commitdf465017098a79eaa7b1c1c2f958f262b4dc521e
tree7f333930774446676b395ab215621a3d6fb9c7c5
parentee3cd16153a02196718951bd9c562b6fa2cf15dd
Ignore any snapshot directory with creation time > completion time.

Without this fix, dss would abort du to an assertion in dss.c:

dss.c:171: compute_next_snapshot_time: Assertion `x >= 0' failed.

Thanks to Sebastian Stark for pointing out this flaw.
snap.c