linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] maple_tree: fix outdated flag name in comment
@ 2024-10-07 21:47 Jann Horn
  2024-10-09  0:10 ` Liam R. Howlett
  2024-10-11  1:43 ` Wei Yang
  0 siblings, 2 replies; 3+ messages in thread
From: Jann Horn @ 2024-10-07 21:47 UTC (permalink / raw)
  To: Liam R. Howlett; +Cc: maple-tree, linux-mm, linux-kernel, Jann Horn

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

Signed-off-by: Jann Horn <jannh@google.com>
---
 include/linux/maple_tree.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/maple_tree.h b/include/linux/maple_tree.h
index c2c11004085e..61c236850ca8 100644
--- a/include/linux/maple_tree.h
+++ b/include/linux/maple_tree.h
@@ -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
-- 
Jann Horn <jannh@google.com>



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-10-11  1:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-07 21:47 [PATCH] maple_tree: fix outdated flag name in comment Jann Horn
2024-10-09  0:10 ` Liam R. Howlett
2024-10-11  1:43 ` Wei Yang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox