Skip to content

Commit d98c86b

Browse files
howlettakpm00
authored andcommitted
maple_tree: fix mas_find_rev() comment
mas_find_rev() uses mas_prev_entry(), not mas_next_entry(), correct comment. Link: https://lkml.kernel.org/r/20221025173756.2719616-1-Liam.Howlett@oracle.com Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
1 parent 61b963b commit d98c86b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/maple_tree.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6062,7 +6062,7 @@ void *mas_find_rev(struct ma_state *mas, unsigned long min)
60626062
if (mas->index < min)
60636063
return NULL;
60646064

6065-
/* Retries on dead nodes handled by mas_next_entry */
6065+
/* Retries on dead nodes handled by mas_prev_entry */
60666066
return mas_prev_entry(mas, min);
60676067
}
60686068
EXPORT_SYMBOL_GPL(mas_find_rev);

0 commit comments

Comments
 (0)