Skip to content

Commit

Permalink
md: bcache: Trivial typo fixes in the file journal.c
Browse files Browse the repository at this point in the history
s/condidate/candidate/
s/folowing/following/

Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
Signed-off-by: Coly Li <colyli@suse.de>
Link: https://lore.kernel.org/r/20210411134316.80274-6-colyli@suse.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
  • Loading branch information
Bhaskar Chowdhury authored and Jens Axboe committed Apr 11, 2021
1 parent be3bace commit 9c9b81c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/md/bcache/journal.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ reread: left = ca->sb.bucket_size - offset;
* Check from the oldest jset for last_seq. If
* i->j.seq < j->last_seq, it means the oldest jset
* in list is expired and useless, remove it from
* this list. Otherwise, j is a condidate jset for
* this list. Otherwise, j is a candidate jset for
* further following checks.
*/
while (!list_empty(list)) {
Expand Down Expand Up @@ -498,7 +498,7 @@ static void btree_flush_write(struct cache_set *c)
* - If there are matched nodes recorded in btree_nodes[],
* they are clean now (this is why and how the oldest
* journal entry can be reclaimed). These selected nodes
* will be ignored and skipped in the folowing for-loop.
* will be ignored and skipped in the following for-loop.
*/
if (((btree_current_write(b)->journal - fifo_front_p) &
mask) != 0) {
Expand Down

0 comments on commit 9c9b81c

Please sign in to comment.