commit | 2863b9eb44787adecba4f977d71d7fd876805b1c | [log] [tgz] |
---|---|---|
author | Jonathan Brassow <jbrassow@redhat.com> | Thu Oct 11 13:38:58 2012 +1100 |
committer | NeilBrown <neilb@suse.de> | Thu Oct 11 13:38:58 2012 +1100 |
tree | e8d5417df70e9ade3b8e021426db6f22b4067b95 | |
parent | 1ca69c4bc4b1ef889861db39f325901eadbf9497 [diff] |
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: Jonathan Brassow <jbrassow@rehdat.com> Signed-off-by: NeilBrown <neilb@suse.de>