Skip to content

Commit 0a92e5c

Browse files
Shen LichuanMikulas Patocka
authored andcommitted
dm: fix spelling errors
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 <[email protected]> Signed-off-by: Mikulas Patocka <[email protected]>
1 parent 4feb014 commit 0a92e5c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

drivers/md/dm-cache-target.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1368,7 +1368,7 @@ static void mg_copy(struct work_struct *ws)
13681368
*/
13691369
bool rb = bio_detain_shared(mg->cache, mg->op->oblock, mg->overwrite_bio);
13701370

1371-
BUG_ON(rb); /* An exclussive lock must _not_ be held for this block */
1371+
BUG_ON(rb); /* An exclusive lock must _not_ be held for this block */
13721372
mg->overwrite_bio = NULL;
13731373
inc_io_migrations(mg->cache);
13741374
mg_full_copy(ws);

drivers/md/dm-raid.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2519,7 +2519,7 @@ static int super_validate(struct raid_set *rs, struct md_rdev *rdev)
25192519
rdev->saved_raid_disk = rdev->raid_disk;
25202520
}
25212521

2522-
/* Reshape support -> restore repective data offsets */
2522+
/* Reshape support -> restore respective data offsets */
25232523
rdev->data_offset = le64_to_cpu(sb->data_offset);
25242524
rdev->new_data_offset = le64_to_cpu(sb->new_data_offset);
25252525

0 commit comments

Comments
 (0)