storage/reflink: update snap_on_start volume size in start()
This commit is contained in:
parent
b6c4f8456f
commit
c43df968d5
@ -198,6 +198,7 @@ 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