dm vdo: fix various function names referenced in comment blocks
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Wed, 21 Feb 2024 09:17:31 +0000 (17:17 +0800)
committerMike Snitzer <snitzer@kernel.org>
Mon, 4 Mar 2024 20:07:55 +0000 (15:07 -0500)
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>
drivers/md/dm-vdo/admin-state.c
drivers/md/dm-vdo/dedupe.c
drivers/md/dm-vdo/encodings.c
drivers/md/dm-vdo/flush.c
drivers/md/dm-vdo/logical-zone.c
drivers/md/dm-vdo/physical-zone.c
drivers/md/dm-vdo/slab-depot.c
drivers/md/dm-vdo/vdo.c

index 94533a802edbbc4f978e2506a8a771c53d80ed3f..1423f4cebb8a11b65be29a7d8646669767f5a785 100644 (file)
@@ -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.
index 9468d7fad443564113329b53046f17afa6e3bc45..c8018c5799bd14017b03993973d49c8473de2612 100644 (file)
@@ -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)
index 9e45411fe816e77bd30401b8be740e4c1f2db5a3..5012042b26af14a6432e6ce598f2e0b4f89916ce 100644 (file)
@@ -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.
  */
index 391b6203efc6ded7fc05815c65eed5a14318a38a..1bc13470a608f5f8c11d98b3a3355116909bfdd9 100644 (file)
@@ -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.
index cfbf1701ca844aeb2d22bd4c3d17f865a11de405..e11f9c8593491eaf5c341b9cf65b2ef4831b8169 100644 (file)
@@ -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)
index 3bcf6f1ba77f2f66e9e65643cae278d17d568144..a9380966b56f268fd3dc5171b06bb40f5694f0e0 100644 (file)
@@ -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
index e10c3db8e66512d6dbbfbe3f67c21d0137d35d69..8c6376e79a23fb4e2990d137f3c4679a40ec23b1 100644 (file)
@@ -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.
index a40f059d39b334dbcdd1be930611fdd0da61dfe5..c161dffeb91aeb36d7bc37d15bb94c20c8d8d9bd 100644 (file)
@@ -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.