@@ -566,12 +566,14 @@ static int __jbd2_journal_force_commit(journal_t *journal)
566566}
567567
568568/**
569- * Force and wait upon a commit if the calling process is not within
570- * transaction. This is used for forcing out undo-protected data which contains
571- * bitmaps, when the fs is running out of space.
569+ * jbd2_journal_force_commit_nested - Force and wait upon a commit if the
570+ * calling process is not within transaction.
572571 *
573572 * @journal: journal to force
574573 * Returns true if progress was made.
574+ *
575+ * This is used for forcing out undo-protected data which contains
576+ * bitmaps, when the fs is running out of space.
575577 */
576578int jbd2_journal_force_commit_nested (journal_t * journal )
577579{
@@ -582,7 +584,7 @@ int jbd2_journal_force_commit_nested(journal_t *journal)
582584}
583585
584586/**
585- * int journal_force_commit () - force any uncommitted transactions
587+ * jbd2_journal_force_commit () - force any uncommitted transactions
586588 * @journal: journal to force
587589 *
588590 * Caller want unconditional commit. We can only force the running transaction
@@ -1881,7 +1883,7 @@ static int load_superblock(journal_t *journal)
18811883
18821884
18831885/**
1884- * int jbd2_journal_load() - Read journal from disk.
1886+ * jbd2_journal_load() - Read journal from disk.
18851887 * @journal: Journal to act on.
18861888 *
18871889 * Given a journal_t structure which tells us which disk blocks contain
@@ -1951,7 +1953,7 @@ int jbd2_journal_load(journal_t *journal)
19511953}
19521954
19531955/**
1954- * void jbd2_journal_destroy() - Release a journal_t structure.
1956+ * jbd2_journal_destroy() - Release a journal_t structure.
19551957 * @journal: Journal to act on.
19561958 *
19571959 * Release a journal_t structure once it is no longer in use by the
@@ -2028,7 +2030,7 @@ int jbd2_journal_destroy(journal_t *journal)
20282030
20292031
20302032/**
2031- *int jbd2_journal_check_used_features() - Check if features specified are used.
2033+ * jbd2_journal_check_used_features() - Check if features specified are used.
20322034 * @journal: Journal to check.
20332035 * @compat: bitmask of compatible features
20342036 * @ro: bitmask of features that force read-only mount
@@ -2063,7 +2065,7 @@ int jbd2_journal_check_used_features(journal_t *journal, unsigned long compat,
20632065}
20642066
20652067/**
2066- * int jbd2_journal_check_available_features() - Check feature set in journalling layer
2068+ * jbd2_journal_check_available_features() - Check feature set in journalling layer
20672069 * @journal: Journal to check.
20682070 * @compat: bitmask of compatible features
20692071 * @ro: bitmask of features that force read-only mount
@@ -2126,7 +2128,7 @@ jbd2_journal_initialize_fast_commit(journal_t *journal)
21262128}
21272129
21282130/**
2129- * int jbd2_journal_set_features() - Mark a given journal feature in the superblock
2131+ * jbd2_journal_set_features() - Mark a given journal feature in the superblock
21302132 * @journal: Journal to act on.
21312133 * @compat: bitmask of compatible features
21322134 * @ro: bitmask of features that force read-only mount
@@ -2217,7 +2219,7 @@ int jbd2_journal_set_features(journal_t *journal, unsigned long compat,
22172219}
22182220
22192221/*
2220- * jbd2_journal_clear_features () - Clear a given journal feature in the
2222+ * jbd2_journal_clear_features() - Clear a given journal feature in the
22212223 * superblock
22222224 * @journal: Journal to act on.
22232225 * @compat: bitmask of compatible features
@@ -2246,7 +2248,7 @@ void jbd2_journal_clear_features(journal_t *journal, unsigned long compat,
22462248EXPORT_SYMBOL (jbd2_journal_clear_features );
22472249
22482250/**
2249- * int jbd2_journal_flush () - Flush journal
2251+ * jbd2_journal_flush() - Flush journal
22502252 * @journal: Journal to act on.
22512253 *
22522254 * Flush all data for a given journal to disk and empty the journal.
@@ -2321,7 +2323,7 @@ int jbd2_journal_flush(journal_t *journal)
23212323}
23222324
23232325/**
2324- * int jbd2_journal_wipe() - Wipe journal contents
2326+ * jbd2_journal_wipe() - Wipe journal contents
23252327 * @journal: Journal to act on.
23262328 * @write: flag (see below)
23272329 *
@@ -2362,7 +2364,7 @@ int jbd2_journal_wipe(journal_t *journal, int write)
23622364}
23632365
23642366/**
2365- * void jbd2_journal_abort () - Shutdown the journal immediately.
2367+ * jbd2_journal_abort () - Shutdown the journal immediately.
23662368 * @journal: the journal to shutdown.
23672369 * @errno: an error number to record in the journal indicating
23682370 * the reason for the shutdown.
@@ -2453,7 +2455,7 @@ void jbd2_journal_abort(journal_t *journal, int errno)
24532455}
24542456
24552457/**
2456- * int jbd2_journal_errno () - returns the journal's error state.
2458+ * jbd2_journal_errno() - returns the journal's error state.
24572459 * @journal: journal to examine.
24582460 *
24592461 * This is the errno number set with jbd2_journal_abort(), the last
@@ -2477,7 +2479,7 @@ int jbd2_journal_errno(journal_t *journal)
24772479}
24782480
24792481/**
2480- * int jbd2_journal_clear_err () - clears the journal's error state
2482+ * jbd2_journal_clear_err() - clears the journal's error state
24812483 * @journal: journal to act on.
24822484 *
24832485 * An error must be cleared or acked to take a FS out of readonly
@@ -2497,7 +2499,7 @@ int jbd2_journal_clear_err(journal_t *journal)
24972499}
24982500
24992501/**
2500- * void jbd2_journal_ack_err() - Ack journal err.
2502+ * jbd2_journal_ack_err() - Ack journal err.
25012503 * @journal: journal to act on.
25022504 *
25032505 * An error must be cleared or acked to take a FS out of readonly
0 commit comments