]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: Move mas_wr_modify node size calculation to mas_wr_node_size()
authorLiam R. Howlett <Liam.Howlett@oracle.com>
Tue, 2 May 2023 00:33:56 +0000 (20:33 -0400)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Tue, 2 May 2023 03:00:31 +0000 (23:00 -0400)
commitd781921bc8f9fe0720856a0956fbf3d4119a5180
tree8200a8858c6e8d53abb6492427e36443efcb7be2
parent3c516afe590197c63825488c6bef1b26433e0b60
maple_tree: Move mas_wr_modify node size calculation to mas_wr_node_size()

Create a new function to get the size of the mas_wr_node_size() since it
will be used elsewhere soon.

Drop the incrementing of the node size if this is the left-most node.

Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com>
lib/maple_tree.c