md: Fix apparent cut-and-paste error in super_90_validate
Setting a variable to itself probably wasn't the intention here. Signed-off-by: Dave Jones <davej@fedoraproject.org> Signed-off-by: NeilBrown <neilb@suse.de>
This commit is contained in:
parent
c28399b594
commit
c9ad020fec
@ -1180,7 +1180,7 @@ static int super_90_validate(struct mddev *mddev, struct md_rdev *rdev)
|
||||
mddev->bitmap_info.offset =
|
||||
mddev->bitmap_info.default_offset;
|
||||
mddev->bitmap_info.space =
|
||||
mddev->bitmap_info.space;
|
||||
mddev->bitmap_info.default_space;
|
||||
}
|
||||
|
||||
} else if (mddev->pers == NULL) {
|
||||
|
Loading…
Reference in New Issue
Block a user