]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: convert mas_prealloc_calc() to take in a maple write state
authorSidhartha Kumar <sidhartha.kumar@oracle.com>
Mon, 7 Apr 2025 18:40:57 +0000 (18:40 +0000)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Tue, 8 Apr 2025 20:01:05 +0000 (16:01 -0400)
commit3f771ebe84ac9b074588b1feacf1e3f15f798c61
tree111f9294acf634faf19803d02a8cf346dd94e8cb
parent7786090ba8413da437559c76c1f95f617ad792eb
maple_tree: convert mas_prealloc_calc() to take in a maple write state

In a subsequent patch, mas_prealloc_calc() will need to access fields only
in the ma_wr_state. Convert the function to take in a ma_wr_state and
modify all callers. There is no functional change.

Reviewed-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
Signed-off-by: Sidhartha Kumar <sidhartha.kumar@oracle.com>
lib/maple_tree.c