[master 7/13] Call superclass _preCreate from BTRFSVolumeDevice._preCreate.

dwlehman installerbot-noreply at redhat.com
Thu Mar 19 19:59:29 UTC 2015


From: David Lehman <dlehman at redhat.com>

---
 blivet/devices/btrfs.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/blivet/devices/btrfs.py b/blivet/devices/btrfs.py
index 78c247f..a5f7181 100644
--- a/blivet/devices/btrfs.py
+++ b/blivet/devices/btrfs.py
@@ -398,6 +398,8 @@ def _preCreate(self):
         if any(p.size < btrfs.MIN_MEMBER_SIZE for p in self.parents):
             raise errors.DeviceCreateError("All BTRFS member devices must have size at least %s." % btrfs.MIN_MEMBER_SIZE)
 
+        super(BTRFSVolumeDevice, self)._preCreate()
+
     def _create(self):
         log_method_call(self, self.name, status=self.status)
         if self.dataLevel:


-- 
To view this commit on github, visit https://github.com/rhinstaller/blivet/commit/9617f5a48318b25f68c9407a69768cd8bb62c4ce


More information about the anaconda-patches mailing list