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>
This commit is contained in:
parent
61b963b52f
commit
d98c86b9f7
@ -6062,7 +6062,7 @@ void *mas_find_rev(struct ma_state *mas, unsigned long min)
|
||||
if (mas->index < min)
|
||||
return NULL;
|
||||
|
||||
/* Retries on dead nodes handled by mas_next_entry */
|
||||
/* Retries on dead nodes handled by mas_prev_entry */
|
||||
return mas_prev_entry(mas, min);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(mas_find_rev);
|
||||
|
Loading…
Reference in New Issue
Block a user