Skip to content

mas_anode_descend() related cleanup

Wei Yang linux-mm 1 version Applied

Status from this message: [merged mm-stable] maple_tree-we-dont-set-offset-to-maple_node_slots-on-error.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 11 repliesApplied 3/3

Patches in v1 All 3 applied

#Subject and filesSizeRepliesApplied
1/3maple_tree: index has been checked to be smaller than pivotlib/maple_tree.c+6 -71 replyApplied
2/3maple_tree: not possible to be a root node after looplib/maple_tree.c+1 -45 repliesApplied
3/3maple_tree: we don't set offset to MAPLE_NODE_SLOTS on errorlib/maple_tree.c+2 -55 repliesApplied

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchLiam R. Howlett
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] mas_anode_descend() related cleanup

Some cleanup related to mas_anode_descend().

Patch 1: remove an unnecessary check
Patch 2: won't hit root node
Patch 3: on error we don't set offset to MAPLE_NODE_SLOTS

Wei Yang (3):
maple_tree: index has been checked to be smaller than pivot
maple_tree: not possible to be a root node after loop
maple_tree: we don't set offset to MAPLE_NODE_SLOTS on error

 lib/maple_tree.c | 23 ++++++++---------------
 1 file changed, 8 insertions(+), 15 deletions(-)
Signature · 1 line
2.34.1