[PATCH 06/12] Fix a regression in BTRFSVolumeDevice.listSubVolumes. (#862742)
David Lehman
dlehman at redhat.com
Thu Oct 4 22:10:10 UTC 2012
This is a regression from my patch to make originalFormat copy of
format instead of them being pointers to the same instance. There
was an assumption that the mountpoint would be in the new format
when it will always be in the originalFormat.
---
pyanaconda/storage/devices.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/pyanaconda/storage/devices.py b/pyanaconda/storage/devices.py
index 65eff82..1246177 100644
--- a/pyanaconda/storage/devices.py
+++ b/pyanaconda/storage/devices.py
@@ -4030,7 +4030,7 @@ class BTRFSVolumeDevice(BTRFSDevice):
return subvols
try:
- subvols = btrfs.list_subvolumes(self.format._mountpoint)
+ subvols = btrfs.list_subvolumes(self.originalFormat._mountpoint)
except BTRFSError as e:
log.debug("failed to list subvolumes: %s" % e)
finally:
--
1.7.7.6
More information about the anaconda-patches
mailing list