Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

maple_tree: fix comment typo on ma_flag of allocation tree

The maple tree flag of allocation tree is MT_FLAGS_ALLOC_RANGE.

Just correct it.

Link: https://lkml.kernel.org/r/20240809020115.31575-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>

authored by

Wei Yang and committed by
Andrew Morton
6050df6d 0a6fff20

+3 -3
+3 -3
include/linux/maple_tree.h
··· 52 52 * bit in the node type. This is possible by using bit 1 to indicate if bit 2 53 53 * is part of the type or the slot. 54 54 * 55 - * Once the type is decided, the decision of an allocation range type or a range 56 - * type is done by examining the immutable tree flag for the MAPLE_ALLOC_RANGE 57 - * flag. 55 + * Once the type is decided, the decision of an allocation range type or a 56 + * range type is done by examining the immutable tree flag for the 57 + * MT_FLAGS_ALLOC_RANGE flag. 58 58 * 59 59 * Node types: 60 60 * 0x??1 = Root