Commit c9ad020f authored by Dave Jones's avatar Dave Jones Committed by NeilBrown

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: default avatarDave Jones <davej@fedoraproject.org>
Signed-off-by: default avatarNeilBrown <neilb@suse.de>
parent c28399b5
...@@ -1180,7 +1180,7 @@ static int super_90_validate(struct mddev *mddev, struct md_rdev *rdev) ...@@ -1180,7 +1180,7 @@ static int super_90_validate(struct mddev *mddev, struct md_rdev *rdev)
mddev->bitmap_info.offset = mddev->bitmap_info.offset =
mddev->bitmap_info.default_offset; mddev->bitmap_info.default_offset;
mddev->bitmap_info.space = mddev->bitmap_info.space =
mddev->bitmap_info.space; mddev->bitmap_info.default_space;
} }
} else if (mddev->pers == NULL) { } else if (mddev->pers == NULL) {
......
Markdown is supported
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