aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/raid10.c
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@profusion.mobi>2011-03-30 21:57:33 -0400
committerLucas De Marchi <lucas.demarchi@profusion.mobi>2011-03-31 10:26:23 -0400
commit25985edcedea6396277003854657b5f3cb31a628 (patch)
treef026e810210a2ee7290caeb737c23cb6472b7c38 /drivers/md/raid10.c
parent6aba74f2791287ec407e0f92487a725a25908067 (diff)
Fix common misspellings
Fixes generated by 'codespell' and manually reviewed. Signed-off-by: Lucas De Marchi <lucas.demarchi@profusion.mobi>
Diffstat (limited to 'drivers/md/raid10.c')
-rw-r--r--drivers/md/raid10.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/md/raid10.c b/drivers/md/raid10.c
index f7b62370b374..2da83d566592 100644
--- a/drivers/md/raid10.c
+++ b/drivers/md/raid10.c
@@ -5,7 +5,7 @@
5 * 5 *
6 * RAID-10 support for md. 6 * RAID-10 support for md.
7 * 7 *
8 * Base on code in raid1.c. See raid1.c for futher copyright information. 8 * Base on code in raid1.c. See raid1.c for further copyright information.
9 * 9 *
10 * 10 *
11 * This program is free software; you can redistribute it and/or modify 11 * This program is free software; you can redistribute it and/or modify
@@ -340,14 +340,14 @@ static void raid10_end_write_request(struct bio *bio, int error)
340 340
341/* 341/*
342 * RAID10 layout manager 342 * RAID10 layout manager
343 * Aswell as the chunksize and raid_disks count, there are two 343 * As well as the chunksize and raid_disks count, there are two
344 * parameters: near_copies and far_copies. 344 * parameters: near_copies and far_copies.
345 * near_copies * far_copies must be <= raid_disks. 345 * near_copies * far_copies must be <= raid_disks.
346 * Normally one of these will be 1. 346 * Normally one of these will be 1.
347 * If both are 1, we get raid0. 347 * If both are 1, we get raid0.
348 * If near_copies == raid_disks, we get raid1. 348 * If near_copies == raid_disks, we get raid1.
349 * 349 *
350 * Chunks are layed out in raid0 style with near_copies copies of the 350 * Chunks are laid out in raid0 style with near_copies copies of the
351 * first chunk, followed by near_copies copies of the next chunk and 351 * first chunk, followed by near_copies copies of the next chunk and
352 * so on. 352 * so on.
353 * If far_copies > 1, then after 1/far_copies of the array has been assigned 353 * If far_copies > 1, then after 1/far_copies of the array has been assigned