summaryrefslogtreecommitdiffstats
path: root/drivers/md
diff options
context:
space:
mode:
authorZhang Jiaming <jiaming@nfschina.com>2022-07-02 03:54:11 +0200
committerJens Axboe <axboe@kernel.dk>2022-08-03 01:14:44 +0200
commit9e26728b5fa9c6ffdb3f5612279bd3b2f7ea8c3c (patch)
treee55558a8cc7f026591fe91fc89e1c2091a3495e5 /drivers/md
parentmd/raid5: Increase restriction on max segments per request (diff)
downloadlinux-9e26728b5fa9c6ffdb3f5612279bd3b2f7ea8c3c.tar.xz
linux-9e26728b5fa9c6ffdb3f5612279bd3b2f7ea8c3c.zip
md: Fix spelling mistake in comments
There are 2 spelling mistakes in comments. Fix it. Signed-off-by: Zhang Jiaming <jiaming@nfschina.com> Signed-off-by: Song Liu <song@kernel.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/md')
-rw-r--r--drivers/md/md-cluster.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/md/md-cluster.c b/drivers/md/md-cluster.c
index 37cbcce3cc66..742b2349fea3 100644
--- a/drivers/md/md-cluster.c
+++ b/drivers/md/md-cluster.c
@@ -40,7 +40,7 @@ struct resync_info {
/* Lock the send communication. This is done through
* bit manipulation as opposed to a mutex in order to
- * accomodate lock and hold. See next comment.
+ * accommodate lock and hold. See next comment.
*/
#define MD_CLUSTER_SEND_LOCK 4
/* If cluster operations (such as adding a disk) must lock the
@@ -689,7 +689,7 @@ static int lock_comm(struct md_cluster_info *cinfo, bool mddev_locked)
/*
* If resync thread run after raid1d thread, then process_metadata_update
* could not continue if raid1d held reconfig_mutex (and raid1d is blocked
- * since another node already got EX on Token and waitting the EX of Ack),
+ * since another node already got EX on Token and waiting the EX of Ack),
* so let resync wake up thread in case flag is set.
*/
if (mddev_locked && !test_bit(MD_CLUSTER_HOLDING_MUTEX_FOR_RECVD,