[PATCH] maple_tree: fix comment typo on ma_flag of allocation tree

Liam R. Howlett Liam.Howlett at oracle.com
Tue Aug 13 18:29:32 PDT 2024


* Wei Yang <richard.weiyang at gmail.com> [240808 22:02]:
> The maple tree flag of allocation tree is MT_FLAGS_ALLOC_RANGE.
> 
> Just correct it.
> 
> Signed-off-by: Wei Yang <richard.weiyang at gmail.com>

Reviewed-by: Liam R. Howlett <Liam.Howlett at oracle.com>

> ---
>  include/linux/maple_tree.h | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/include/linux/maple_tree.h b/include/linux/maple_tree.h
> index a53ad4dabd7e..9c5fd645aa0e 100644
> --- a/include/linux/maple_tree.h
> +++ b/include/linux/maple_tree.h
> @@ -52,9 +52,9 @@
>   * bit in the node type.  This is possible by using bit 1 to indicate if bit 2
>   * is part of the type or the slot.
>   *
> - * Once the type is decided, the decision of an allocation range type or a range
> - * type is done by examining the immutable tree flag for the MAPLE_ALLOC_RANGE
> - * flag.
> + * Once the type is decided, the decision of an allocation range type or a
> + * range type is done by examining the immutable tree flag for the
> + * MT_FLAGS_ALLOC_RANGE flag.
>   *
>   *  Node types:
>   *   0x??1 = Root
> -- 
> 2.34.1
> 



More information about the maple-tree mailing list