git: e4183f17458d - main - geom/journal: Fix typos

From: Warner Losh <imp_at_FreeBSD.org>
Date: Thu, 28 Dec 2023 06:43:47 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=e4183f17458de178dec4b123376c0c89efb873cf

commit e4183f17458de178dec4b123376c0c89efb873cf
Author:     Alex <simplecodemaster@gmail.com>
AuthorDate: 2023-12-28 06:40:33 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-12-28 06:42:03 +0000

    geom/journal: Fix typos
    
    Fixed a few typos.
    
    Reviewed by: imp
    Pull Request: https://github.com/freebsd/freebsd-src/pull/884
---
 sys/geom/journal/g_journal.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sys/geom/journal/g_journal.c b/sys/geom/journal/g_journal.c
index 11a75e541fda..92c197d98aa3 100644
--- a/sys/geom/journal/g_journal.c
+++ b/sys/geom/journal/g_journal.c
@@ -374,7 +374,7 @@ g_journal_check_overflow(struct g_journal_softc *sc)
 	if (g_journal_switcher_wokenup)
 		return;
 	/*
-	 * If the active journal takes more than g_journal_force_switch precent
+	 * If the active journal takes more than g_journal_force_switch percent
 	 * of free journal space, we force journal switch.
 	 */
 	KASSERT(length > 0,
@@ -1383,7 +1383,7 @@ g_journal_flush_send(struct g_journal_softc *sc)
 	cp = sc->sc_jconsumer;
 	bioq = lbp = NULL;
 	while (sc->sc_flush_in_progress < g_journal_parallel_flushes) {
-		/* Send one flush requests to the active journal. */
+		/* Send one flush request to the active journal. */
 		bp = GJQ_FIRST(sc->sc_flush_queue);
 		if (bp != NULL) {
 			GJQ_REMOVE(sc->sc_flush_queue, bp);
@@ -1724,7 +1724,7 @@ g_journal_mark_as_dirty(struct g_journal_softc *sc)
 
 /*
  * Function read record header from the given journal.
- * It is very simlar to g_read_data(9), but it doesn't allocate memory for bio
+ * It is very similar to g_read_data(9), but it doesn't allocate memory for bio
  * and data on every call.
  */
 static int
@@ -1837,7 +1837,7 @@ g_journal_sync(struct g_journal_softc *sc)
 				    (intmax_t)offset, error);
 				/*
 				 * Nope, this is not journal header, which
-				 * bascially means that journal is not
+				 * basically means that journal is not
 				 * terminated properly.
 				 */
 				error = ENOENT;