aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex <simplecodemaster@gmail.com>2023-12-28 06:40:33 +0000
committerWarner Losh <imp@FreeBSD.org>2023-12-28 06:42:03 +0000
commite4183f17458de178dec4b123376c0c89efb873cf (patch)
tree54ce6239ac03f34ba37f0996c61c1bc2367953aa
parent4b817fc1f02c8b152474730c5c7c51c3ce585ad0 (diff)
downloadsrc-e4183f17458de178dec4b123376c0c89efb873cf.tar.gz
src-e4183f17458de178dec4b123376c0c89efb873cf.zip
geom/journal: Fix typos
Fixed a few typos. Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/884
-rw-r--r--sys/geom/journal/g_journal.c8
1 files 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;