mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-22 20:41:03 +01:00
geom/journal: Fix typos
Fixed a few typos. Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/884
This commit is contained in:
parent
4b817fc1f0
commit
e4183f1745
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user