radix-tree: fix typo
authorMatthew Wilcox <willy@linux.intel.com>
Wed, 14 Dec 2016 23:08:31 +0000 (15:08 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 15 Dec 2016 00:04:10 +0000 (16:04 -0800)
Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Tested-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Konstantin Khlebnikov <koct9i@gmail.com>
Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
Cc: Matthew Wilcox <mawilcox@microsoft.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
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)