This commit is contained in:
Tony George 2018-08-26 20:54:46 +05:30
parent 3c6f9d2f82
commit 8fbdc6e9c3

View File

@ -578,6 +578,8 @@ public class Device : GLib.Object{
find_toplevel_parent(list, part);
}
// Changes for "raid5" -------------------------------------------------------------------------
// Cleanup for raid: remove member disks and double children
for (int i = list.size - 1; i >= 0; --i) {
if (list[i].type == "raid5") {
@ -629,6 +631,8 @@ public class Device : GLib.Object{
}
}
// changes for "dmraid" -------------------------------------------------------------------------
// Cleanup for dmraid: remove member disks and double children
for (int i = list.size - 1; i >= 0; --i) {
if (list[i].type == "dmraid") {