md: fix typos in comments
PATCH 1/1 md: fix typos in comments
Fix typos in comments, reported by scripts/checkpatch.pl using the misspelling list in scripts/spelling.txt. Only touches comments, no code changes.
Assisted-by Cursor:claude-opus-5
Signed-off-by Hemanth Selam <[email protected]>
--- drivers/md/dm-cache-metadata.c | 2 +- drivers/md/dm-crypt.c | 2 +- drivers/md/dm-exception-store.h | 2 +- drivers/md/dm-raid.c | 2 +- drivers/md/dm-raid1.c | 2 +- drivers/md/dm-unstripe.c | 2 +- drivers/md/persistent-data/dm-btree-remove.c | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-)
drivers/md/dm-cache-metadata.c +1 -1
@@ -49,7 +49,7 @@ enum superblock_flag_bits {enum mapping_bits {/* * A valid mapping. Because we're using an array we clear this -* flag for an non existant mapping. +* flag for an non existent mapping. */ M_VALID =1 ,
drivers/md/dm-crypt.c +1 -1
@@ -2365,7 +2365,7 @@ static unsigned int crypt_authenckey_size(struct crypt_config *cc)/* * If AEAD is composed like authenc(hmac(sha256),xts(aes)), * the key must be for some reason in special format. -* This funcion converts cc->key to this special format. +* This function converts cc->key to this special format. */ static void crypt_copy_authenckey (char *p,const void *key,unsigned int enckeylen,unsigned int authkeylen)
drivers/md/dm-exception-store.h +1 -1
@@ -135,7 +135,7 @@ struct dm_dev *dm_snap_origin(struct dm_snapshot *snap);struct dm_dev *dm_snap_cow (struct dm_snapshot *snap);/* -* Funtions to manipulate consecutive chunks +* Functions to manipulate consecutive chunks */ #define DM_CHUNK_CONSECUTIVE_BITS 8#define DM_CHUNK_NUMBER_BITS 56
drivers/md/dm-raid.c +1 -1
@@ -1784,7 +1784,7 @@ static int rs_check_takeover(struct raid_set *rs)/* raid10* -> raid0 */ if (mddev->new_level ==0 ) { -/* Can takeover raid10_near with raid disks divisable by data copies! */ +/* Can takeover raid10_near with raid disks divisible by data copies! */ if (near_copies >1 && !(mddev->raid_disks % near_copies)) { mddev->raid_disks /= near_copies;
drivers/md/dm-raid1.c +1 -1
@@ -1393,7 +1393,7 @@ static void mirror_resume(struct dm_target *ti)* we have encountered. * A => Alive - No failures * D => Dead - A write failure occurred leaving mirror out-of-sync -* S => Sync - A sychronization failure occurred, mirror out-of-sync +* S => Sync - A synchronization failure occurred, mirror out-of-sync * R => Read - A read failure occurred, mirror data unaffected * * Returns: <char>
drivers/md/dm-unstripe.c +1 -1
@@ -33,7 +33,7 @@ static void cleanup_unstripe(struct unstripe_c *uc, struct dm_target *ti) }/* -* Contruct an unstriped mapping. +* Construct an unstriped mapping. * <number of stripes> <chunk size> <stripe #> <dev_path> <offset> */ static int unstripe_ctr (struct dm_target *ti,unsigned int argc,char **argv)
drivers/md/persistent-data/dm-btree-remove.c +1 -1
@@ -31,7 +31,7 @@* least MIN_ENTRIES + 1. We do this in the following ways: * * [A] No siblings => this can only happen if the node is the root, in which -* case we copy the childs contents over the root. +* case we copy the children contents over the root. * * [B] No left sibling * ==> rebalance(node, right sibling)
Signature · 1 line
2.48.1