diff mbox series

maple_tree: fix outdated flag name in comment

Message ID 20241007-maple-tree-doc-fix-v1-1-6bbf89c1153d@google.com (mailing list archive)
State New
Headers show
Series maple_tree: fix outdated flag name in comment | expand

Commit Message

Jann Horn Oct. 7, 2024, 9:47 p.m. UTC
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(-)


---
base-commit: 8cf0b93919e13d1e8d4466eb4080a4c4d9d66d7b
change-id: 20241007-maple-tree-doc-fix-db016fe321ce

Comments

Liam R. Howlett Oct. 9, 2024, 12:10 a.m. UTC | #1
* Jann Horn <jannh@google.com> [241007 17:48]:
> 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>

Thanks

Reviewed-by: Liam R. Howlett <Liam.Howlett@Oracle.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>
> 
> 
> -- 
> maple-tree mailing list
> maple-tree@lists.infradead.org
> https://lists.infradead.org/mailman/listinfo/maple-tree
Wei Yang Oct. 11, 2024, 1:43 a.m. UTC | #2
On Mon, Oct 07, 2024 at 11:47:45PM +0200, Jann Horn wrote:
>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>

Reviewed-by: Wei Yang <richard.weiyang@gmail.com>
diff mbox series

Patch

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.
  */