maple_tree-use-mt_node_max-instead-of-direct-operations-mt_max.patch removed from -mm tree
The quilt patch titled
Subject: maple_tree: use mt_node_max() instead of direct operations mt_max[]
has been removed from the -mm tree. Its filename was
maple_tree-use-mt_node_max-instead-of-direct-operations-mt_max.patch
This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Vernon Yang <[email protected]>
Subject: maple_tree: use mt_node_max() instead of direct operations mt_max[]
Date: Wed, 21 Dec 2022 14:00:54 +0800
Use mt_node_max() to get the maximum number of slots for a node, rather than direct operations mt_max[], makes it better portability.
---
lib/maple_tree.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
lib/maple_tree.c renamed from lib/maple_tree.c~maple_tree-use-mt_node_max-instead-of-direct-operations-mt_max +2 -2
@@ -6725,7 +6725,7 @@ static void mt_dump_range64(const structif (i < (MAPLE_RANGE64_SLOTS -1 )) last = node->pivot[i]; -else if (!node->slot[i] && max != mt_max[mte_node_type (entry)]) +else if (!node->slot[i] && max !=mt_node_max (entry))break ;if (last ==0 && i >0 )break ;
@@ -6832,7 +6832,7 @@ void mt_dump(const struct maple_tree *mtif (!xa_is_node (entry))mt_dump_entry (entry,0 ,0 ,0 );else if (entry) -mt_dump_node (mt, entry,0 , mt_max[mte_node_type (entry)],0 ); +mt_dump_node (mt, entry,0 ,mt_node_max (entry),0 ); }EXPORT_SYMBOL_GPL (mt_dump);
_
Patches currently in -mm which might be from [email protected] are
maple_tree-remove-the-parameter-entry-of-mas_preallocate.patch mm-mmap-fix-typo-in-comment.patch maple_tree-fix-comment-of-mte_destroy_walk.patch mm-mmap-fix-comment-of-unmapped_area_topdown.patch