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:
Rusty Bird 2019-06-23 12:47:56 +00:00
parent fa0ae0c921
commit 58a7e0f158
No known key found for this signature in database
GPG Key ID: 469D78F47AAF2ADF

View File

@ -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: