summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fsset.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/fsset.py b/fsset.py
index bd83806f7..4b99f7fda 100644
--- a/fsset.py
+++ b/fsset.py
@@ -2681,7 +2681,8 @@ def makeDevice(dev):
if dev.startswith('md'):
try:
(mdname, devices, level, numActive) = raid.lookup_raid_device(dev)
- device = RAIDDevice(level, devices,
+ devs = [PartitionDevice(d) for d in devices]
+ device = RAIDDevice(level, devs,
minor=int(mdname[2:]),
spares=len(devices) - numActive,
existing=1)