Skip to content

Commit

Permalink
storage/reflink: get VM dir from less arbitrary-looking path
Browse files Browse the repository at this point in the history
(cherry picked from commit 56f6a6e)
  • Loading branch information
rustybird authored and marmarek committed Apr 17, 2020
1 parent f04d6ee commit 25f92a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qubes/storage/reflink.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def verify(self):
def remove(self):
self.pool._volumes.pop(self, None) # pylint: disable=protected-access
self._remove_all_images()
_remove_empty_dir(os.path.dirname(self._path_dirty))
_remove_empty_dir(os.path.dirname(self._path_vid))
return self

def _remove_all_images(self):
Expand Down

0 comments on commit 25f92a3

Please sign in to comment.