Re: [PATCH storage 2/2] Fix module reference of get_raid_max_spares call

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2009-03-10 at 18:17 +0100, Radek Vykydal wrote:
> ---
>  iw/raid_dialog_gui.py |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)

These should both have been covered by commit
f37a69c451f7ce1f4ddb8d0a3b5e0077a8b3efc7.

Dave

> 
> diff --git a/iw/raid_dialog_gui.py b/iw/raid_dialog_gui.py
> index 4481d52..80e62d3 100644
> --- a/iw/raid_dialog_gui.py
> +++ b/iw/raid_dialog_gui.py
> @@ -113,7 +113,7 @@ class RaidEditor:
>      def raidlevelchangeCB(self, widget, sparesb):
>  	raidlevel = widget.get_model()[widget.get_active()][0]
>  	numparts = sparesb.get_data("numparts")
> -	maxspares = raid.get_raid_max_spares(raidlevel, numparts)
> +	maxspares = get_raid_max_spares(raidlevel, numparts)
>  
>  	if maxspares > 0 and raidlevel != "raid0":
>  	    adj = sparesb.get_adjustment() 
> @@ -398,7 +398,7 @@ class RaidEditor:
>                  nspares = 0
>  
>              if origrequest.level:
> -                maxspares = raid.get_raid_max_spares(origrequest.level,
> +                maxspares = get_raid_max_spares(origrequest.level,
>                                                       numparts)
>              else:
>                  maxspares = 0

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux