Skip to content

Commit d5f6057

Browse files
rddunlapakpm00
authored andcommitted
maple_tree: fix typos/spellos etc
Fix typos/grammar and spellos in documentation. Link: https://lkml.kernel.org/r/20231210063839.29967-1-rdunlap@infradead.org Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org> Cc: Liam R. Howlett <Liam.Howlett@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
1 parent 03d69d4 commit d5f6057

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/maple_tree.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
* and are simply the slot index + the minimum of the node.
1717
*
1818
* In regular B-Tree terms, pivots are called keys. The term pivot is used to
19-
* indicate that the tree is specifying ranges, Pivots may appear in the
20-
* subtree with an entry attached to the value where as keys are unique to a
19+
* indicate that the tree is specifying ranges. Pivots may appear in the
20+
* subtree with an entry attached to the value whereas keys are unique to a
2121
* specific position of a B-tree. Pivot values are inclusive of the slot with
2222
* the same index.
2323
*
@@ -2500,7 +2500,7 @@ static inline void mast_set_split_parents(struct maple_subtree_state *mast,
25002500
}
25012501

25022502
/*
2503-
* mas_topiary_node() - Dispose of a singe node
2503+
* mas_topiary_node() - Dispose of a single node
25042504
* @mas: The maple state for pushing nodes
25052505
* @enode: The encoded maple node
25062506
* @in_rcu: If the tree is in rcu mode
@@ -5492,7 +5492,7 @@ int mas_preallocate(struct ma_state *mas, void *entry, gfp_t gfp)
54925492
goto ask_now;
54935493
}
54945494

5495-
/* New root needs a singe node */
5495+
/* New root needs a single node */
54965496
if (unlikely(mte_is_root(mas->node)))
54975497
goto ask_now;
54985498

0 commit comments

Comments
 (0)