[dm-devel] [PATCH] dm-raid: Do not call BUG() in __rdev_sectors()
Hannes Reinecke
hare at suse.de
Wed Jun 28 08:04:11 UTC 2017
On 06/28/2017 09:55 AM, 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 +-
> 3 files changed, 4 insertions(+), 3 deletions(-)
>
Gnaa. Those bits shouldn't be here.
Will be resending.
Cheers,
Hannes
--
Dr. Hannes Reinecke Teamlead Storage & Networking
hare at suse.de +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton
HRB 21284 (AG Nürnberg)
More information about the dm-devel
mailing list