summaryrefslogtreecommitdiffstats
path: root/drivers/md/md.c
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2013-08-19 22:26:32 -0400
committerNeilBrown <neilb@suse.de>2013-08-27 16:06:17 +1000
commitc9ad020fec895bf1e5fcc322d0ab9e67efd3e3a0 (patch)
tree6bf10fd7770d388d9bb4d09b48d0fe03de1107c8 /drivers/md/md.c
parentc28399b5943a24a214a44e973a3a8002fd36442d (diff)
downloadlinux-c9ad020fec895bf1e5fcc322d0ab9e67efd3e3a0.tar.bz2
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/md.c')
-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) {