projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d72a9d
)
md/raid10: Fix typo in comment (replacment -> replacement)
author
Jiangshan Yi
<yijiangshan@kylinos.cn>
Tue, 14 Feb 2023 06:40:13 +0000
(14:40 +0800)
committer
Song Liu
<song@kernel.org>
Fri, 14 Apr 2023 05:20:23 +0000
(22:20 -0700)
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
drivers/md/raid10.c
patch
|
blob
|
history
diff --git
a/drivers/md/raid10.c
b/drivers/md/raid10.c
index 9e0e7bf524aa6f4b86b290107b7a69f749403ac5..6b39e6c7ada3dd2a3ec5be5565936dd4175d319c 100644
(file)
--- 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 replac
e
ment is NULL
*/
smp_rmb();
rdev = conf->mirrors[dev].rdev;