maple_tree-add-copy_tree_location-helper.patch removed from -mm tree
The quilt patch titled
Subject: maple_tree: add copy_tree_location() helper
has been removed from the -mm tree. Its filename was
maple_tree-add-copy_tree_location-helper.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: "Liam R. Howlett" <[email protected]>
Subject: maple_tree: add copy_tree_location() helper
Date: Fri, 30 Jan 2026 15:59:29 -0500
Extract the copying of the tree location from one maple state to another into its own function. This is used more later.
Signed-off-by Liam R. Howlett <[email protected]>
Cc Alice Ryhl <[email protected]>
Cc Andrew Ballance <[email protected]>
Cc Arnd Bergmann <[email protected]>
Cc Christian Kujau <[email protected]>
Cc Geert Uytterhoeven <[email protected]>
Cc Kuninori Morimoto <[email protected]>
Cc Matthew Wilcox (Oracle) <[email protected]>
Cc SeongJae Park <[email protected]>
Cc Sidhartha Kumar <[email protected]>
Cc Suren Baghdasaryan <[email protected]>
Cc Vlastimil Babka <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
lib/maple_tree.c | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-)
lib/maple_tree.c renamed from lib/maple_tree.c~maple_tree-add-copy_tree_location-helper +12 -6
@@ -3531,6 +3531,17 @@ static bool spanning_ascend(struct maplereturn true; } +static inline +void copy_tree_location (const struct ma_state *src,struct ma_state *dst) +{ + dst->node = src->node; + dst->offset = src->offset; + dst->min = src->min; + dst->max = src->max; + dst->end = src->end; + dst->depth = src->depth; +} +/* * rebalance_ascend() - Ascend the tree and set up for the next loop - if * necessary
@@ -3570,12 +3581,7 @@ static inline bool rebalance_ascend(stru } cp->height++; - mas->node = parent->node; - mas->offset = parent->offset; - mas->min = parent->min; - mas->max = parent->max; - mas->end = parent->end; - mas->depth = parent->depth; +copy_tree_location (parent, mas);wr_mas_setup (wr_mas, mas);return true; }
_
Patches currently in -mm which might be from [email protected] are