FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Kernel Team

 
 
LinkBack Thread Tools
 
Old 01-25-2010, 06:24 PM
David Lehman
 
Default DMRaidArrayDevice don't pass major/minor to DMDevice.__init__ (#558440)

Ack.

On Mon, 2010-01-25 at 20:02 +0100, Hans de Goede wrote:
> The changes for the filtering UI and the whole disk formatting seem to have
> broken dmraid BIOS RAID support, the first traceback I hit while testing is
> due to DMRaidArrayDevice.__init__ now calling DMDevice.__init__ (was
> DiskDevice.__init__), and DMDevice.__init__ does not accept major and minor
> arguments.
> ---
> storage/devices.py | 6 ++----
> 1 files changed, 2 insertions(+), 4 deletions(-)
>
> diff --git a/storage/devices.py b/storage/devices.py
> index 9df23f0..d5ca22b 100644
> --- a/storage/devices.py
> +++ b/storage/devices.py
> @@ -2847,8 +2847,7 @@ class DMRaidArrayDevice(DMDevice):
> _isDisk = True
>
> def __init__(self, name, raidSet=None, format=None,
> - size=None, major=None, minor=None, parents=None,
> - sysfsPath='):
> + size=None, parents=None, sysfsPath='):
> """ Create a DMRaidArrayDevice instance.
>
> Arguments:
> @@ -2868,8 +2867,7 @@ class DMRaidArrayDevice(DMDevice):
> if not parent.format or parent.format.type != "dmraidmember":
> raise ValueError("parent devices must contain dmraidmember format")
> DMDevice.__init__(self, name, format=format, size=size,
> - major=major, minor=minor, parents=parents,
> - sysfsPath=sysfsPath, exists=True)
> + parents=parents, sysfsPath=sysfsPath, exists=True)
>
> self.formatClass = get_device_format_class("dmraidmember")
> if not self.formatClass:


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

Thread Tools




All times are GMT. The time now is 02:26 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org