Setting a variable to itself probably wasn't the intention here.
Signed-off-by: Dave Jones <[email protected]>
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) {
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
>
> Signed-off-by: Dave Jones <[email protected]>
>
> 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) {