summaryrefslogtreecommitdiffstats
path: root/storage
diff options
context:
space:
mode:
Diffstat (limited to 'storage')
-rw-r--r--storage/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/__init__.py b/storage/__init__.py
index de3f202d1..d7b53b61a 100644
--- a/storage/__init__.py
+++ b/storage/__init__.py
@@ -1802,7 +1802,7 @@ class FSSet(object):
if not device.format.mountable and device.format.type != "swap":
continue
- fstype = device.format.type
+ fstype = getattr(device.format, "mountType", device.format.type)
if fstype == "swap":
mountpoint = "swap"
options = device.format.options