From 448690f02ee29a5d633e890e09920a0adee386b2 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 20 Apr 2012 18:22:10 +0000 Subject: (raid2real_kind) introduces it like lvm2kind(), it processes one raid device at a time instead of returning { type => 'raid, name => 'raid', val => undef } (which later causes crashes in partioning wizard) (this obviously was never tested when introducing the later) --- perl-install/diskdrake/hd_gtk.pm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/perl-install/diskdrake/hd_gtk.pm b/perl-install/diskdrake/hd_gtk.pm index c9eca1cec..70f8a3f57 100644 --- a/perl-install/diskdrake/hd_gtk.pm +++ b/perl-install/diskdrake/hd_gtk.pm @@ -442,6 +442,11 @@ sub raid2kind() { { type => 'raid', name => 'raid', val => $all_hds->{raids} }; } +sub raid2real_kind { + my ($raid) = @_; + { type => 'raid', name => 'raid', val => $raid }; +} + ################################################################################ # loopbacks: helpers ################################################################################ -- cgit v1.2.1