From: Dave Jones Date: Tue, 20 Aug 2013 02:26:32 +0000 (-0400) Subject: md: Fix apparent cut-and-paste error in super_90_validate X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=c9ad020fec895bf1e5fcc322d0ab9e67efd3e3a0;p=deliverable%2Flinux.git 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 Signed-off-by: NeilBrown --- diff --git a/drivers/md/md.c b/drivers/md/md.c index 16b0822fa24a..a2678d882151 100644 --- a/drivers/md/md.c +++ b/drivers/md/md.c @@ -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) {