summaryrefslogtreecommitdiff
path: root/include/linux/radix-tree.h
diff options
context:
space:
mode:
authorHui Su <sh_def@163.com>2020-09-27 20:15:53 +0300
committerMatthew Wilcox (Oracle) <willy@infradead.org>2020-10-13 15:41:26 +0300
commitf78b8250a076ac63ddd021c7ea9739bcc2f6f737 (patch)
treeab845a18e4d841e479608a6085d67923c5e87cf8 /include/linux/radix-tree.h
parentca7b639e8611b3260a30b18aaa0d6db9c80a75ef (diff)
downloadlinux-f78b8250a076ac63ddd021c7ea9739bcc2f6f737.tar.xz
radix-tree: fix the comment of radix_tree_next_slot()
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>
Diffstat (limited to 'include/linux/radix-tree.h')
-rw-r--r--include/linux/radix-tree.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/radix-tree.h b/include/linux/radix-tree.h
index 5c85059a92ba..64ad900ac742 100644
--- a/include/linux/radix-tree.h
+++ b/include/linux/radix-tree.h
@@ -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
*