]> www.infradead.org Git - users/willy/xarray.git/commit
maple_tree: fix comment typo of ma_root
authorWei Yang <richard.weiyang@gmail.com>
Mon, 12 Aug 2024 15:09:24 +0000 (15:09 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 2 Sep 2024 03:26:11 +0000 (20:26 -0700)
commit7a0529d0c2aa552498cc9b5c116f6e2ab8c2ac43
tree39c1c287cfa1c90bf82768d8b4d7a7ee7dfff5de
parent617f8e4d76b81361884db852005f519012ddd244
maple_tree: fix comment typo of ma_root

In comment of mas_start(), we lists the return value for different cases.
In case of a single entry, we set mas->status to ma_root, while the
comment uses mas_root, which is not a maple_status.

Fix the typo according to the code.

Link: https://lkml.kernel.org/r/20240812150925.31551-1-richard.weiyang@gmail.com
Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
Reviewed-by: Liam R. Howlett <Liam.Howlett@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
lib/maple_tree.c