diff options
author | Liam R. Howlett <[email protected]> | 2023-04-14 10:57:26 -0400 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2023-04-18 14:22:13 -0700 |
commit | fad8e4291da5e3243e086622df63cb952db444d8 (patch) | |
tree | ec88f6559807bc93004df1d603a22c2b32eb61e7 /kernel/gcov/gcc_base.c | |
parent | fdea03e12aa2a44a7bb34144208be97fc25dfd90 (diff) |
maple_tree: make maple state reusable after mas_empty_area_rev()
Stop using maple state min/max for the range by passing through pointers
for those values. This will allow the maple state to be reused without
resetting.
Also add some logic to fail out early on searching with invalid
arguments.
Link: https://lkml.kernel.org/r/[email protected]
Fixes: 54a611b60590 ("Maple Tree: add new data structure")
Signed-off-by: Liam R. Howlett <[email protected]>
Reported-by: Rick Edgecombe <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'kernel/gcov/gcc_base.c')
0 files changed, 0 insertions, 0 deletions