aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md
diff options
context:
space:
mode:
authorAndre Noll <maan@systemlinux.org>2009-06-17 18:46:47 -0400
committerNeilBrown <neilb@suse.de>2009-06-17 18:46:47 -0400
commitcdc2ae6d6a30df8fd92c5e300d0e3005e13eb6b0 (patch)
treef64a34e565e8b8c8e983b278d9f17162a0f76ecc /drivers/md
parent0ba459d26260d4d13346c76642f461b2bf607eef (diff)
md: fix some comments.
1/ Raid5 has learned to take over also raid4 and raid6 arrays. 2/ new_chunk in mdp_superblock_1 is in sectors, not bytes. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md')
-rw-r--r--drivers/md/raid5.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c
index 72e8a324dcfb..009344156751 100644
--- a/drivers/md/raid5.c
+++ b/drivers/md/raid5.c
@@ -5231,8 +5231,6 @@ static void *raid5_takeover(mddev_t *mddev)
5231 * raid1 - if there are two drives. We need to know the chunk size 5231 * raid1 - if there are two drives. We need to know the chunk size
5232 * raid4 - trivial - just use a raid4 layout. 5232 * raid4 - trivial - just use a raid4 layout.
5233 * raid6 - Providing it is a *_6 layout 5233 * raid6 - Providing it is a *_6 layout
5234 *
5235 * For now, just do raid1
5236 */ 5234 */
5237 5235
5238 if (mddev->level == 1) 5236 if (mddev->level == 1)