]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: Pass maple copy node to mas_wmb_replace()
authorLiam R. Howlett <Liam.Howlett@oracle.com>
Tue, 14 Oct 2025 20:43:36 +0000 (16:43 -0400)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Tue, 14 Oct 2025 20:43:36 +0000 (16:43 -0400)
commitd37dbacdac1bceebb1b28a7a3f70b6993cbe738f
treeea05d811677b34182fbbb5baf38e105653d880a4
parent9472bb2c9631009d3a3df93f9d318f001c0ce275
maple_tree: Pass maple copy node to mas_wmb_replace()

mas_wmb_replace() is called in three places with the same setup, move
the setup into the function itself.  The function needs to be relocated
as it calls mtree_range_walk().

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