Skip to content

Commit

Permalink
md: Fix apparent cut-and-paste error in super_90_validate
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dave Jones authored and NeilBrown committed Aug 27, 2013
1 parent c28399b commit c9ad020
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/md/md.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit c9ad020

Please sign in to comment.