radix-tree: fix typo
authorMatthew Wilcox <[email protected]>
Wed, 14 Dec 2016 23:08:31 +0000 (15:08 -0800)
committerLinus Torvalds <[email protected]>
Thu, 15 Dec 2016 00:04:10 +0000 (16:04 -0800)
Signed-off-by: Matthew Wilcox <[email protected]>
Tested-by: Kirill A. Shutemov <[email protected]>
Cc: Konstantin Khlebnikov <[email protected]>
Cc: Ross Zwisler <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
lib/radix-tree.c

index 2e8c6f7aa56ea65084b3f4f2eaebe996b11ad3e2..60c10361cbfaaf8b95565e378c57502582a4eecc 100644 (file)
@@ -1110,7 +1110,7 @@ void **radix_tree_next_chunk(struct radix_tree_root *root,
         * because RADIX_TREE_MAP_SHIFT < BITS_PER_LONG.
         *
         * This condition also used by radix_tree_next_slot() to stop
-        * contiguous iterating, and forbid swithing to the next chunk.
+        * contiguous iterating, and forbid switching to the next chunk.
         */
        index = iter->next_index;
        if (!index && iter->index)