Skip to content

Commit dccb8ad

Browse files
Jiangshan Yiliu-song-6
authored andcommitted
md/raid10: Fix typo in comment (replacment -> replacement)
Replace replacment with replacement. Signed-off-by: Jiangshan Yi <yijiangshan@kylinos.cn> Signed-off-by: Song Liu <song@kernel.org> Link: https://lore.kernel.org/r/20230214064013.2373851-1-yijiangshan@kylinos.cn
1 parent 4d72a9d commit dccb8ad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/md/raid10.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1630,7 +1630,7 @@ static void raid10_end_discard_request(struct bio *bio)
16301630
/*
16311631
* raid10_remove_disk uses smp_mb to make sure rdev is set to
16321632
* replacement before setting replacement to NULL. It can read
1633-
* rdev first without barrier protect even replacment is NULL
1633+
* rdev first without barrier protect even replacement is NULL
16341634
*/
16351635
smp_rmb();
16361636
rdev = conf->mirrors[dev].rdev;

0 commit comments

Comments
 (0)