Revert "storage/reflink: update snap_on_start volume size in start()"
Fixed more generally in one of the next commits ("storage/reflink:
preferably get volume size from image size").
This reverts commit c43df968d5
.
This commit is contained in:
parent
fa0ae0c921
commit
58a7e0f158
@ -204,7 +204,6 @@ class ReflinkVolume(qubes.storage.Volume):
|
||||
if self.snap_on_start:
|
||||
# pylint: disable=protected-access
|
||||
_copy_file(self.source._path_clean, self._path_clean)
|
||||
self.size = os.path.getsize(self._path_clean)
|
||||
if self.snap_on_start or self.save_on_stop:
|
||||
_copy_file(self._path_clean, self._path_dirty)
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user