Re: Fix apparent cut-and-paste error in super_90_validate

From: NeilBrown
Date: Mon Aug 19 2013 - 22:46:56 EST


On Mon, 19 Aug 2013 22:26:32 -0400 Dave Jones <davej@xxxxxxxxxx> wrote:

> Setting a variable to itself probably wasn't the intention here.

Probably not, no.

Applied, thanks.

NeilBrown


>
> Signed-off-by: Dave Jones <davej@xxxxxxxxxxxxxxxxx>
>
> diff --git a/drivers/md/md.c b/drivers/md/md.c
> index 9f13e13..b9cb9e4 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) {

Attachment: signature.asc
Description: PGP signature