]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
radix-tree: fix the comment of radix_tree_next_slot()
authorHui Su <sh_def@163.com>
Sun, 27 Sep 2020 17:15:53 +0000 (01:15 +0800)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 13 Oct 2020 12:41:26 +0000 (08:41 -0400)
fix the comment of radix_tree_next_slot():
interator --> iterator.

Signed-off-by: Hui Su <sh_def@163.com>
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
include/linux/radix-tree.h

index 5c85059a92ba09e5c569c80064c518e61e826598..64ad900ac74224eeff8012d8493460078cedb25d 100644 (file)
@@ -377,7 +377,7 @@ radix_tree_chunk_size(struct radix_tree_iter *iter)
  * radix_tree_next_slot - find next slot in chunk
  *
  * @slot:      pointer to current slot
- * @iter:      pointer to interator state
+ * @iter:      pointer to iterator state
  * @flags:     RADIX_TREE_ITER_*, should be constant
  * Returns:    pointer to next slot, or NULL if there no more left
  *