From: Liam Howlett Date: Tue, 25 Oct 2022 17:38:14 +0000 (+0000) Subject: maple_tree: fix mas_find_rev() comment X-Git-Tag: v6.2-rc1~54^2~4 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=d98c86b9f7a4e1f5a7ead8ba5743952267f9e320;p=linux-block.git 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 Signed-off-by: Andrew Morton --- diff --git a/lib/maple_tree.c b/lib/maple_tree.c index 3fe1491d2bf9..fe3947b80069 100644 --- a/lib/maple_tree.c +++ b/lib/maple_tree.c @@ -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);