Re: [PATCH] maple_tree: fix outdated flag name in comment

From: Liam R. Howlett
Date: Tue Oct 08 2024 - 20:11:24 EST


* Jann Horn <jannh@xxxxxxxxxx> [241007 17:48]:
> MAPLE_USE_RCU was renamed to MT_FLAGS_USE_RCU at some point, fix up the
> comment.
>
> Signed-off-by: Jann Horn <jannh@xxxxxxxxxx>

Thanks

Reviewed-by: Liam R. Howlett <Liam.Howlett@xxxxxxxxxx>

> ---
> include/linux/maple_tree.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/linux/maple_tree.h b/include/linux/maple_tree.h
> index c2c11004085e..61c236850ca8 100644
> --- a/include/linux/maple_tree.h
> +++ b/include/linux/maple_tree.h
> @@ -224,7 +224,7 @@ typedef struct { /* nothing */ } lockdep_map_p;
> * (set at tree creation time) and dynamic information set under the spinlock.
> *
> * Another use of flags are to indicate global states of the tree. This is the
> - * case with the MAPLE_USE_RCU flag, which indicates the tree is currently in
> + * case with the MT_FLAGS_USE_RCU flag, which indicates the tree is currently in
> * RCU mode. This mode was added to allow the tree to reuse nodes instead of
> * re-allocating and RCU freeing nodes when there is a single user.
> */
>
> ---
> base-commit: 8cf0b93919e13d1e8d4466eb4080a4c4d9d66d7b
> change-id: 20241007-maple-tree-doc-fix-db016fe321ce
> --
> Jann Horn <jannh@xxxxxxxxxx>
>
>
> --
> maple-tree mailing list
> maple-tree@xxxxxxxxxxxxxxxxxxx
> https://lists.infradead.org/mailman/listinfo/maple-tree