Commit efdd3c33 authored by Yu Zhe's avatar Yu Zhe Committed by Mike Snitzer

dm raid: fix some spelling mistakes in comments

Signed-off-by: default avatarYu Zhe <yuzhe@nfschina.com>
Signed-off-by: default avatarMike Snitzer <snitzer@kernel.org>
parent c25da5b7
...@@ -1988,7 +1988,7 @@ struct dm_raid_superblock { ...@@ -1988,7 +1988,7 @@ struct dm_raid_superblock {
__le64 sectors; /* Used device size in sectors */ __le64 sectors; /* Used device size in sectors */
/* /*
* Additonal Bit field of devices indicating failures to support * Additional Bit field of devices indicating failures to support
* up to 256 devices with the 1.9.0 on-disk metadata format * up to 256 devices with the 1.9.0 on-disk metadata format
*/ */
__le64 extended_failed_devices[DISKS_ARRAY_ELEMS - 1]; __le64 extended_failed_devices[DISKS_ARRAY_ELEMS - 1];
...@@ -2855,7 +2855,7 @@ static int rs_setup_reshape(struct raid_set *rs) ...@@ -2855,7 +2855,7 @@ static int rs_setup_reshape(struct raid_set *rs)
* *
* - in case of adding disk(s), array size has * - in case of adding disk(s), array size has
* to grow after the disk adding reshape, * to grow after the disk adding reshape,
* which'll hapen in the event handler; * which'll happen in the event handler;
* reshape will happen forward, so space has to * reshape will happen forward, so space has to
* be available at the beginning of each disk * be available at the beginning of each disk
* *
...@@ -3148,7 +3148,7 @@ static int raid_ctr(struct dm_target *ti, unsigned int argc, char **argv) ...@@ -3148,7 +3148,7 @@ static int raid_ctr(struct dm_target *ti, unsigned int argc, char **argv)
* If a takeover is needed, userspace sets any additional * If a takeover is needed, userspace sets any additional
* devices to rebuild and we can check for a valid request here. * devices to rebuild and we can check for a valid request here.
* *
* If acceptible, set the level to the new requested * If acceptable, set the level to the new requested
* one, prohibit requesting recovery, allow the raid * one, prohibit requesting recovery, allow the raid
* set to run and store superblocks during resume. * set to run and store superblocks during resume.
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment