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

Wei Yang richard.weiyang at gmail.com
Thu Aug 8 19:01:15 PDT 2024


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>
---
 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