@@ -318,6 +318,7 @@ static bool __must_check abort_on_error(int result, struct repair_completion *re
318
318
/**
319
319
* drain_slab_depot() - Flush out all dirty refcounts blocks now that they have been rebuilt or
320
320
* recovered.
321
+ * @completion: The repair completion.
321
322
*/
322
323
static void drain_slab_depot (struct vdo_completion * completion )
323
324
{
@@ -653,9 +654,6 @@ static void rebuild_reference_counts(struct vdo_completion *completion)
653
654
vdo_traverse_forest (vdo -> block_map , process_entry , completion );
654
655
}
655
656
656
- /**
657
- * increment_recovery_point() - Move the given recovery point forward by one entry.
658
- */
659
657
static void increment_recovery_point (struct recovery_point * point )
660
658
{
661
659
if (++ point -> entry_count < RECOVERY_JOURNAL_ENTRIES_PER_SECTOR )
@@ -952,6 +950,7 @@ static void abort_block_map_recovery(struct repair_completion *repair, int resul
952
950
/**
953
951
* find_entry_starting_next_page() - Find the first journal entry after a given entry which is not
954
952
* on the same block map page.
953
+ * @repair: The repair completion.
955
954
* @current_entry: The entry to search from.
956
955
* @needs_sort: Whether sorting is needed to proceed.
957
956
*
@@ -1218,6 +1217,7 @@ static bool __must_check is_exact_recovery_journal_block(const struct recovery_j
1218
1217
1219
1218
/**
1220
1219
* find_recovery_journal_head_and_tail() - Find the tail and head of the journal.
1220
+ * @repair: The repair completion.
1221
1221
*
1222
1222
* Return: True if there were valid journal blocks.
1223
1223
*/
@@ -1446,6 +1446,7 @@ static int validate_heads(struct repair_completion *repair)
1446
1446
1447
1447
/**
1448
1448
* extract_new_mappings() - Find all valid new mappings to be applied to the block map.
1449
+ * @repair: The repair completion.
1449
1450
*
1450
1451
* The mappings are extracted from the journal and stored in a sortable array so that all of the
1451
1452
* mappings to be applied to a given block map page can be done in a single page fetch.
@@ -1500,6 +1501,7 @@ static int extract_new_mappings(struct repair_completion *repair)
1500
1501
/**
1501
1502
* compute_usages() - Compute the lbns in use and block map data blocks counts from the tail of
1502
1503
* the journal.
1504
+ * @repair: The repair completion.
1503
1505
*/
1504
1506
static noinline int compute_usages (struct repair_completion * repair )
1505
1507
{
0 commit comments