diff options
author | Dave Jones <davej@redhat.com> | 2013-08-19 22:26:32 -0400 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2013-08-27 16:06:17 +1000 |
commit | c9ad020fec895bf1e5fcc322d0ab9e67efd3e3a0 (patch) | |
tree | 6bf10fd7770d388d9bb4d09b48d0fe03de1107c8 /drivers/md | |
parent | c28399b5943a24a214a44e973a3a8002fd36442d (diff) | |
download | linux-stable-c9ad020fec895bf1e5fcc322d0ab9e67efd3e3a0.tar.gz linux-stable-c9ad020fec895bf1e5fcc322d0ab9e67efd3e3a0.tar.bz2 linux-stable-c9ad020fec895bf1e5fcc322d0ab9e67efd3e3a0.zip |
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 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) { |