[PATCH] maple_tree: fix comment typo on ma_flag of allocation tree
Wei Yang
richard.weiyang at gmail.com
Sat Aug 31 17:39:30 PDT 2024
On Tue, Aug 13, 2024 at 09:29:32PM -0400, Liam R. Howlett wrote:
>* 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>
>
Andrew
Sorry for not including you for this thread.
>> ---
>> 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
>>
--
Wei Yang
Help you, Help me
More information about the maple-tree
mailing list