]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: Remove new_end argument from append and node store
authorLiam R. Howlett <Liam.Howlett@oracle.com>
Thu, 25 Sep 2025 02:10:01 +0000 (22:10 -0400)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Thu, 2 Oct 2025 17:28:04 +0000 (13:28 -0400)
commit8ea1fc66a3635c76410f1d69a847ffb5c3decf15
tree4a9f585503fc7e8e78d00ae628dba967d82138d9
parent9c691f6f8f89e9d56bdd2273ecf02f7f4dcbc7eb
maple_tree: Remove new_end argument from append and node store

Not all writes need the new_end value, so only calculate it when necessary.

mas_wr_node_store() already looks at the necessary informations, so
inline the calculation with the other logic.

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