summaryrefslogtreecommitdiff
path: root/drivers/md/raid10.c
diff options
context:
space:
mode:
authorJiangshan Yi <yijiangshan@kylinos.cn>2023-02-14 09:40:13 +0300
committerSong Liu <song@kernel.org>2023-04-14 08:20:23 +0300
commitdccb8ad615bf042a318d66d284151d4783cd56d6 (patch)
treeb03ca1f5b690b00d149c4de0b6eb126b3d678542 /drivers/md/raid10.c
parent4d72a9de2f002c77267c720ebc5595a17f0d66e9 (diff)
downloadlinux-dccb8ad615bf042a318d66d284151d4783cd56d6.tar.xz
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
Diffstat (limited to 'drivers/md/raid10.c')
-rw-r--r--drivers/md/raid10.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/raid10.c b/drivers/md/raid10.c
index 9e0e7bf524aa..6b39e6c7ada3 100644
--- a/drivers/md/raid10.c
+++ b/drivers/md/raid10.c
@@ -1630,7 +1630,7 @@ static void raid10_end_discard_request(struct bio *bio)
/*
* raid10_remove_disk uses smp_mb to make sure rdev is set to
* replacement before setting replacement to NULL. It can read
- * rdev first without barrier protect even replacment is NULL
+ * rdev first without barrier protect even replacement is NULL
*/
smp_rmb();
rdev = conf->mirrors[dev].rdev;