lvm_thin: don't purge one revision too few
We just added one that must be taken into account.
This commit is contained in:
parent
86998b0815
commit
ade49d44b7
@ -286,6 +286,7 @@ class ThinVolume(qubes.storage.Volume):
|
||||
cmd = ['clone', self.vid,
|
||||
'{}-{}-back'.format(self.vid, int(time.time()))]
|
||||
qubes_lvm(cmd, self.log)
|
||||
reset_cache()
|
||||
self._remove_revisions()
|
||||
|
||||
# TODO: when converting this function to coroutine, this _must_ be
|
||||
|
Loading…
Reference in New Issue
Block a user