Skip to content
Commit 2863b9eb authored by Jonathan Brassow's avatar Jonathan Brassow Committed by NeilBrown
Browse files

MD RAID10: Prep for DM RAID10 device replacement capability



MD RAID10:  Fix a couple potential kernel panics if RAID10 is used by dm-raid

When device-mapper uses the RAID10 personality through dm-raid.c, there is no
'gendisk' structure in mddev and some sysfs information is also not populated.

This patch avoids touching those non-existent structures.

Signed-off-by: default avatarJonathan Brassow <jbrassow@rehdat.com>
Signed-off-by: default avatarNeilBrown <neilb@suse.de>
parent 1ca69c4b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment