[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130820022632.GA12899@redhat.com>
Date: Mon, 19 Aug 2013 22:26:32 -0400
From: Dave Jones <davej@...hat.com>
To: neilb@...e.de
Cc: linux-raid@...r.kernel.org,
Linux Kernel <linux-kernel@...r.kernel.org>
Subject: 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@...oraproject.org>
diff --git a/drivers/md/md.c b/drivers/md/md.c
index 9f13e13..b9cb9e4 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) {
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists