diff options
author | Dave Jones <davej@redhat.com> | 2013-08-20 02:26:32 (GMT) |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2013-08-27 06:06:17 (GMT) |
commit | c9ad020fec895bf1e5fcc322d0ab9e67efd3e3a0 (patch) | |
tree | 6bf10fd7770d388d9bb4d09b48d0fe03de1107c8 /drivers/md | |
parent | c28399b5943a24a214a44e973a3a8002fd36442d (diff) | |
download | linux-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c index 16b0822..a2678d8 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) { |