summaryrefslogtreecommitdiff
path: root/drivers/md
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2013-08-20 06:26:32 +0400
committerNeilBrown <neilb@suse.de>2013-08-27 10:06:17 +0400
commitc9ad020fec895bf1e5fcc322d0ab9e67efd3e3a0 (patch)
tree6bf10fd7770d388d9bb4d09b48d0fe03de1107c8 /drivers/md
parentc28399b5943a24a214a44e973a3a8002fd36442d (diff)
downloadlinux-c9ad020fec895bf1e5fcc322d0ab9e67efd3e3a0.tar.xz
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 <davej@fedoraproject.org> Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md')
-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) {