OSDN Git Service

md: Fix spelling mistake in comments
authorZhang Jiaming <jiaming@nfschina.com>
Sat, 2 Jul 2022 01:54:11 +0000 (09:54 +0800)
committerJens Axboe <axboe@kernel.dk>
Tue, 2 Aug 2022 23:14:44 +0000 (17:14 -0600)
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>
drivers/md/md-cluster.c

index 37cbcce..742b234 100644 (file)
@@ -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,