]> www.infradead.org Git - linux.git/commitdiff
dm: fix spelling errors
authorShen Lichuan <shenlichuan@vivo.com>
Tue, 24 Sep 2024 13:21:11 +0000 (15:21 +0200)
committerMikulas Patocka <mpatocka@redhat.com>
Thu, 26 Sep 2024 15:27:07 +0000 (17:27 +0200)
Fixed some confusing spelling errors that were currently identified,
the details are as follows:

-in the code comments:
        dm-cache-target.c: 1371:        exclussive      ==> exclusive
        dm-raid.c: 2522:                repective       ==> respective

Signed-off-by: Shen Lichuan <shenlichuan@vivo.com>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
drivers/md/dm-cache-target.c
drivers/md/dm-raid.c

index 621be35c2b00f531f5a63da73710b07f880746fe..aaeeabfab09b0add08bdae18d816ea9541901ccb 100644 (file)
@@ -1368,7 +1368,7 @@ static void mg_copy(struct work_struct *ws)
                         */
                        bool rb = bio_detain_shared(mg->cache, mg->op->oblock, mg->overwrite_bio);
 
-                       BUG_ON(rb); /* An exclussive lock must _not_ be held for this block */
+                       BUG_ON(rb); /* An exclusive lock must _not_ be held for this block */
                        mg->overwrite_bio = NULL;
                        inc_io_migrations(mg->cache);
                        mg_full_copy(ws);
index 0c3323e0adb2a0b57c811f5c4995bd126b8c82a5..32c8240c1873a12a7bec7acd72c67d8cc6b063fa 100644 (file)
@@ -2519,7 +2519,7 @@ static int super_validate(struct raid_set *rs, struct md_rdev *rdev)
                rdev->saved_raid_disk = rdev->raid_disk;
        }
 
-       /* Reshape support -> restore repective data offsets */
+       /* Reshape support -> restore respective data offsets */
        rdev->data_offset = le64_to_cpu(sb->data_offset);
        rdev->new_data_offset = le64_to_cpu(sb->new_data_offset);