Coly Li 5e1b6c
From 9c9b81c45619e76d315eb3b9934e9d4bfa7d3bcd Mon Sep 17 00:00:00 2001
Coly Li 5e1b6c
From: Bhaskar Chowdhury <unixbhaskar@gmail.com>
Coly Li 5e1b6c
Date: Sun, 11 Apr 2021 21:43:14 +0800
Coly Li 5e1b6c
Subject: [PATCH] md: bcache: Trivial typo fixes in the file journal.c
Coly Li 5e1b6c
Git-commit: 9c9b81c45619e76d315eb3b9934e9d4bfa7d3bcd
Coly Li 5e1b6c
Patch-mainline: v5.13-rc1
Coly Li 5e1b6c
References: bsc#1187357
Coly Li 5e1b6c
Coly Li 5e1b6c
s/condidate/candidate/
Coly Li 5e1b6c
s/folowing/following/
Coly Li 5e1b6c
Coly Li 5e1b6c
Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
Coly Li 5e1b6c
Signed-off-by: Coly Li <colyli@suse.de>
Coly Li 5e1b6c
Link: https://lore.kernel.org/r/20210411134316.80274-6-colyli@suse.de
Coly Li 5e1b6c
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Coly Li 5e1b6c
Coly Li 5e1b6c
---
Coly Li 5e1b6c
 drivers/md/bcache/journal.c | 4 ++--
Coly Li 5e1b6c
 1 file changed, 2 insertions(+), 2 deletions(-)
Coly Li 5e1b6c
Coly Li 5e1b6c
diff --git a/drivers/md/bcache/journal.c b/drivers/md/bcache/journal.c
Coly Li 5e1b6c
index de2c0d7699cf..61bd79babf7a 100644
Coly Li 5e1b6c
--- a/drivers/md/bcache/journal.c
Coly Li 5e1b6c
+++ b/drivers/md/bcache/journal.c
Coly Li 5e1b6c
@@ -111,7 +111,7 @@ reread:		left = ca->sb.bucket_size - offset;
Coly Li 5e1b6c
 			 * Check from the oldest jset for last_seq. If
Coly Li 5e1b6c
 			 * i->j.seq < j->last_seq, it means the oldest jset
Coly Li 5e1b6c
 			 * in list is expired and useless, remove it from
Coly Li 5e1b6c
-			 * this list. Otherwise, j is a condidate jset for
Coly Li 5e1b6c
+			 * this list. Otherwise, j is a candidate jset for
Coly Li 5e1b6c
 			 * further following checks.
Coly Li 5e1b6c
 			 */
Coly Li 5e1b6c
 			while (!list_empty(list)) {
Coly Li 5e1b6c
@@ -498,7 +498,7 @@ static void btree_flush_write(struct cache_set *c)
Coly Li 5e1b6c
 		 * - If there are matched nodes recorded in btree_nodes[],
Coly Li 5e1b6c
 		 *   they are clean now (this is why and how the oldest
Coly Li 5e1b6c
 		 *   journal entry can be reclaimed). These selected nodes
Coly Li 5e1b6c
-		 *   will be ignored and skipped in the folowing for-loop.
Coly Li 5e1b6c
+		 *   will be ignored and skipped in the following for-loop.
Coly Li 5e1b6c
 		 */
Coly Li 5e1b6c
 		if (((btree_current_write(b)->journal - fifo_front_p) &
Coly Li 5e1b6c
 		     mask) != 0) {
Coly Li 5e1b6c
-- 
Coly Li 5e1b6c
2.26.2
Coly Li 5e1b6c