storage/reflink: omit redundant comment

The is_dirty() one-liner is defined right above.
This commit is contained in:
Rusty Bird 2020-01-28 13:40:09 +00:00
parent 6a0b9bbe2e
commit 9c9d71c069
No known key found for this signature in database
GPG Key ID: 469D78F47AAF2ADF

View File

@ -206,7 +206,7 @@ class ReflinkVolume(qubes.storage.Volume):
@_locked
def start(self):
self._remove_incomplete_files()
if self.is_dirty(): # implies self.save_on_stop
if self.is_dirty():
return self
if self.snap_on_start:
# pylint: disable=protected-access