aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Jones <[email protected]>2013-08-19 22:26:32 -0400
committerNeilBrown <[email protected]>2013-08-27 16:06:17 +1000
commitc9ad020fec895bf1e5fcc322d0ab9e67efd3e3a0 (patch)
tree6bf10fd7770d388d9bb4d09b48d0fe03de1107c8
parentc28399b5943a24a214a44e973a3a8002fd36442d (diff)
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 <[email protected]> Signed-off-by: NeilBrown <[email protected]>
-rw-r--r--drivers/md/md.c2
1 files changed, 1 insertions, 1 deletions
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) {