aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHui Su <sh_def@163.com>2020-09-28 01:15:53 +0800
committerMatthew Wilcox (Oracle) <willy@infradead.org>2020-10-13 08:41:26 -0400
commitf78b8250a076ac63ddd021c7ea9739bcc2f6f737 (patch)
treeab845a18e4d841e479608a6085d67923c5e87cf8
parentXArray: Fix xas_reload for multi-index entries (diff)
downloadlinux-dev-f78b8250a076ac63ddd021c7ea9739bcc2f6f737.tar.xz
linux-dev-f78b8250a076ac63ddd021c7ea9739bcc2f6f737.zip
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>
-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
*