Skip to contentSkip to conversation

maple_tree: fix outdated flag name in comment

PATCH Applied Jann Horn 3 participants 3 messages Oct 7, 2024 – Oct 11, 2024

Subsystems (2)
lore
Share & tools
lore

Jann Horn

author
#0 lore raw

PATCH 1/1 maple_tree: fix outdated flag name in comment

MAPLE_USE_RCU was renamed to MT_FLAGS_USE_RCU at some point, fix up the comment.

---
 include/linux/maple_tree.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/maple_tree.h +1 -1
index c2c11004085e..61c236850ca8 100644
@@ -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

Signature · 1 line
Jann Horn <[email protected]>
Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Jann Horn

MAPLE_USE_RCU was renamed to MT_FLAGS_USE_RCU at some point, fix up the comment.

Thanks

Quoted 29 lines
---
 include/linux/maple_tree.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/maple_tree.h +1 -2
index c2c11004085e..61c236850ca8 100644
@@ -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

Signature · 7 lines
Jann Horn <[email protected]>


-- 
maple-tree mailing list
[email protected]
https://lists.infradead.org/mailman/listinfo/maple-tree