summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2009-05-20 10:45:16 -0400
committerChris Lumens <clumens@redhat.com>2009-05-20 10:50:40 -0400
commite82036afbe6e1723f0aa6e8ee3394905263c9a41 (patch)
treebd0e11de4c9abf1f12a7ab4568e782398cf1a183
parent15f2df9a1068f83886162fc287c8cd2f8397839a (diff)
downloadanaconda-e82036afbe6e1723f0aa6e8ee3394905263c9a41.tar.gz
anaconda-e82036afbe6e1723f0aa6e8ee3394905263c9a41.tar.xz
anaconda-e82036afbe6e1723f0aa6e8ee3394905263c9a41.zip
Make sure the right _isMigratable gets used for Ext3FS (#501585).
It appears that the migratable property in the FS class was using FS._isMigratable when we'd overridden that method in Ext3FS. This fix prevents the upgrade migrate fs screen from showing up unless ext4migrate is on the cmdline, like intended.
-rw-r--r--storage/formats/fs.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/storage/formats/fs.py b/storage/formats/fs.py
index 5c5a290da..96697ece1 100644
--- a/storage/formats/fs.py
+++ b/storage/formats/fs.py
@@ -915,6 +915,8 @@ class Ext3FS(Ext2FS):
return (flags.cmdline.has_key("ext4migrate") and
Ext2FS._isMigratable(self))
+ migratable = property(_isMigratable)
+
register_device_format(Ext3FS)