aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md
diff options
context:
space:
mode:
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>2024-02-21 17:17:31 +0800
committerMike Snitzer <snitzer@kernel.org>2024-03-04 15:07:55 -0500
commiteebd4e163024944ed53b6ad6d147e49df24dba32 (patch)
treeda8fdc751403f5b9f4d4c6db66a89f203fb456d4 /drivers/md
parent17b1a73feaf31bea77010e226c8e434cba1f95ea (diff)
downloadlinux-eebd4e163024944ed53b6ad6d147e49df24dba32.tar.gz
dm vdo: fix various function names referenced in comment blocks
No functional modification involved. Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> Signed-off-by: Matthew Sakai <msakai@redhat.com> Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Diffstat (limited to 'drivers/md')
-rw-r--r--drivers/md/dm-vdo/admin-state.c2
-rw-r--r--drivers/md/dm-vdo/dedupe.c2
-rw-r--r--drivers/md/dm-vdo/encodings.c2
-rw-r--r--drivers/md/dm-vdo/flush.c2
-rw-r--r--drivers/md/dm-vdo/logical-zone.c4
-rw-r--r--drivers/md/dm-vdo/physical-zone.c2
-rw-r--r--drivers/md/dm-vdo/slab-depot.c6
-rw-r--r--drivers/md/dm-vdo/vdo.c4
8 files changed, 12 insertions, 12 deletions
diff --git a/drivers/md/dm-vdo/admin-state.c b/drivers/md/dm-vdo/admin-state.c
index 94533a802edbbc..1423f4cebb8a11 100644
--- a/drivers/md/dm-vdo/admin-state.c
+++ b/drivers/md/dm-vdo/admin-state.c
@@ -300,7 +300,7 @@ static bool check_code(bool valid, const struct admin_state_code *code, const ch
}
/**
- * vdo_drain_operation() - Check that an operation is a drain.
+ * assert_vdo_drain_operation() - Check that an operation is a drain.
* @waiter The completion to finish with an error if the operation is not a drain.
*
* Return: true if the specified operation is a drain.
diff --git a/drivers/md/dm-vdo/dedupe.c b/drivers/md/dm-vdo/dedupe.c
index 9468d7fad44356..c8018c5799bd14 100644
--- a/drivers/md/dm-vdo/dedupe.c
+++ b/drivers/md/dm-vdo/dedupe.c
@@ -2839,7 +2839,7 @@ static const char *index_state_to_string(struct hash_zones *zones,
}
/**
- * vdo_dump_hash_zone() - Dump information about a hash zone to the log for debugging.
+ * dump_hash_zone() - Dump information about a hash zone to the log for debugging.
* @zone: The zone to dump.
*/
static void dump_hash_zone(const struct hash_zone *zone)
diff --git a/drivers/md/dm-vdo/encodings.c b/drivers/md/dm-vdo/encodings.c
index 9e45411fe816e7..5012042b26af14 100644
--- a/drivers/md/dm-vdo/encodings.c
+++ b/drivers/md/dm-vdo/encodings.c
@@ -1172,7 +1172,7 @@ static struct vdo_component unpack_vdo_component_41_0(struct packed_vdo_componen
}
/**
- * vdo_decode_component() - Decode the component data for the vdo itself out of the super block.
+ * decode_vdo_component() - Decode the component data for the vdo itself out of the super block.
*
* Return: VDO_SUCCESS or an error.
*/
diff --git a/drivers/md/dm-vdo/flush.c b/drivers/md/dm-vdo/flush.c
index 391b6203efc6de..1bc13470a608f5 100644
--- a/drivers/md/dm-vdo/flush.c
+++ b/drivers/md/dm-vdo/flush.c
@@ -88,7 +88,7 @@ static inline struct vdo_flush *completion_as_vdo_flush(struct vdo_completion *c
}
/**
- * waiter_as_flush() - Convert a vdo_flush's generic wait queue entry back to the vdo_flush.
+ * vdo_waiter_as_flush() - Convert a vdo_flush's generic wait queue entry back to the vdo_flush.
* @waiter: The wait queue entry to convert.
*
* Return: The wait queue entry as a vdo_flush.
diff --git a/drivers/md/dm-vdo/logical-zone.c b/drivers/md/dm-vdo/logical-zone.c
index cfbf1701ca844a..e11f9c8593491e 100644
--- a/drivers/md/dm-vdo/logical-zone.c
+++ b/drivers/md/dm-vdo/logical-zone.c
@@ -295,8 +295,8 @@ static void notify_flusher(struct vdo_completion *completion)
}
/**
- * void attempt_generation_complete_notification() - Notify the flusher if some generation no
- * longer has active VIOs.
+ * attempt_generation_complete_notification() - Notify the flusher if some generation no
+ * longer has active VIOs.
* @completion: The zone completion.
*/
static void attempt_generation_complete_notification(struct vdo_completion *completion)
diff --git a/drivers/md/dm-vdo/physical-zone.c b/drivers/md/dm-vdo/physical-zone.c
index 3bcf6f1ba77f2f..a9380966b56f26 100644
--- a/drivers/md/dm-vdo/physical-zone.c
+++ b/drivers/md/dm-vdo/physical-zone.c
@@ -258,7 +258,7 @@ static int make_pbn_lock_pool(size_t capacity, struct pbn_lock_pool **pool_ptr)
}
/**
- * vdo_free_pbn_lock_pool() - Free a PBN lock pool.
+ * free_pbn_lock_pool() - Free a PBN lock pool.
* @pool: The lock pool to free.
*
* This also frees all the PBN locks it allocated, so the caller must ensure that all locks have
diff --git a/drivers/md/dm-vdo/slab-depot.c b/drivers/md/dm-vdo/slab-depot.c
index e10c3db8e66512..8c6376e79a23fb 100644
--- a/drivers/md/dm-vdo/slab-depot.c
+++ b/drivers/md/dm-vdo/slab-depot.c
@@ -2035,8 +2035,8 @@ static inline slab_block_number find_zero_byte_in_word(const u8 *word_ptr,
}
/**
- * vdo_find_free_block() - Find the first block with a reference count of zero in the specified
- * range of reference counter indexes.
+ * find_free_block() - Find the first block with a reference count of zero in the specified
+ * range of reference counter indexes.
* @slab: The slab counters to scan.
* @index_ptr: A pointer to hold the array index of the free block.
*
@@ -5032,7 +5032,7 @@ get_ref_counts_statistics(const struct slab_depot *depot)
}
/**
- * get_depot_slab_journal_statistics() - Get the aggregated slab journal statistics for the depot.
+ * get_slab_journal_statistics() - Get the aggregated slab journal statistics for the depot.
* @depot: The slab depot.
*
* Return: The aggregated statistics for all slab journals in the depot.
diff --git a/drivers/md/dm-vdo/vdo.c b/drivers/md/dm-vdo/vdo.c
index a40f059d39b334..c161dffeb91aeb 100644
--- a/drivers/md/dm-vdo/vdo.c
+++ b/drivers/md/dm-vdo/vdo.c
@@ -267,8 +267,8 @@ static int __must_check initialize_thread_config(struct thread_count_config coun
}
/**
- * vdo_read_geometry_block() - Synchronously read the geometry block from a vdo's underlying block
- * device.
+ * read_geometry_block() - Synchronously read the geometry block from a vdo's underlying block
+ * device.
* @vdo: The vdo whose geometry is to be read.
*
* Return: VDO_SUCCESS or an error code.