[master 5/6] Do supercall in BTRFSVolumeDevice.formatImmutable.
mulkieran
installerbot-noreply at redhat.com
Wed Mar 11 22:08:14 UTC 2015
From: mulhern <amulhern at redhat.com>
That way we can take into account if the device is protected, even if it
is non-existant.
Signed-off-by: mulhern <amulhern at redhat.com>
---
blivet/devices/btrfs.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/blivet/devices/btrfs.py b/blivet/devices/btrfs.py
index 85e18a3..78c247f 100644
--- a/blivet/devices/btrfs.py
+++ b/blivet/devices/btrfs.py
@@ -269,7 +269,7 @@ def metaDataLevel(self, value):
@property
def formatImmutable(self):
- return self.exists
+ return super(BTRFSVolumeDevice, self).formatImmutable or self.exists
def _setName(self, value):
self._name = value # name is not used outside of blivet
--
To view this commit on github, visit https://github.com/rhinstaller/blivet/commit/94b762327d4f99561bba3eda4019e00641bea20a
More information about the anaconda-patches
mailing list