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 <[email protected]>
drivers/md/md.c +1 -1
@@ -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 ) {
NeilBrown
AppliedQuoted 1 line · On Mon, 19 Aug 2013 22:26:32 -0400 Dave Jones <[email protected]> wrote:
Setting a variable to itself probably wasn't the intention here.
Probably not, no.
Applied, thanks.
NeilBrown
Quoted 16 lines
Signed-off-by Dave Jones <[email protected]>drivers/md/md.c +1
-1@@ -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 ) {