Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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) {