diff options
author | Liam Howlett <[email protected]> | 2022-11-07 16:38:35 +0000 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2022-11-08 15:57:25 -0800 |
commit | 9bbba5633488ee3e2903647c3484c4390ff39ea7 (patch) | |
tree | 29d07e9e978c048e12df7e5357b989526b08afe4 /lib/memory-notifier-error-inject.c | |
parent | 1fdbed657a4726639c4f17841fd2a0fb646c746e (diff) |
maple_tree: fix depth tracking in maple_state
It is possible to confuse the depth tracking in the maple state by
searching the same node for values. Fix the depth tracking by moving
where the depth is incremented closer to where the node changes level.
Also change the initial depth setting when using the root node.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Liam R. Howlett <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions