maple_tree: fix outdated flag name in comment
Subsystems (2)
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.
Signed-off-by Jann Horn <[email protected]>
--- include/linux/maple_tree.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/maple_tree.h +1 -1
@@ -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]>
Quoted 4 lines · Jann Horn
MAPLE_USE_RCUwas renamed toMT_FLAGS_USE_RCUat some point, fix up the comment.Signed-off-by Jann Horn <[email protected]>
Thanks
Reviewed-by Liam R. Howlett <[email protected]>
Quoted 29 lines
--- include/linux/maple_tree.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/linux/maple_tree.h +1
-2@@ -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-db016fe321ceSignature · 7 lines
Jann Horn <[email protected]> -- maple-tree mailing list [email protected] https://lists.infradead.org/mailman/listinfo/maple-tree
Quoted 4 lines · Jann Horn
MAPLE_USE_RCUwas renamed toMT_FLAGS_USE_RCUat some point, fix up the comment.Signed-off-by Jann Horn <[email protected]>
Reviewed-by Wei Yang <[email protected]>
Signature · 2 lines
Wei Yang Help you, Help me