[dm-devel] [PATCH] dm-raid: Do not call BUG() in __rdev_sectors()

Johannes Thumshirn jthumshirn at suse.de
Wed Jun 28 08:01:18 UTC 2017


On Wed, Jun 28, 2017 at 09:55:03AM +0200, Hannes Reinecke wrote:
> __rdev_sectors() might be called for an invalid/non-existing
> RAID set during raid_ctr(), which is perfectly fine and no
> reason to panic.
> 
> Signed-off-by: Hannes Reinecke <hare at suse.com>
> ---
>  drivers/md/dm-raid.c          | 3 ++-
>  drivers/scsi/pmcraid.c        | 2 +-
>  drivers/scsi/qla4xxx/ql4_os.c | 2 +-

Ahm, accidential git commit -a?

-- 
Johannes Thumshirn                                          Storage
jthumshirn at suse.de                                +49 911 74053 689
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)
Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850




More information about the dm-devel mailing list