1
0
Fork 0

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>
hifive-unleashed-5.1
Dave Jones 2013-08-19 22:26:32 -04:00 committed by NeilBrown
parent c28399b594
commit c9ad020fec
1 changed files with 1 additions and 1 deletions

View File

@ -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) {