diff options
author | Peng Zhang <zhangpeng.00@bytedance.com> | 2023-07-11 11:54:40 +0800 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-08-18 10:12:21 -0700 |
commit | e93fda5a1ab7a0c6143ae8a6f231c9f5f3c417b1 (patch) | |
tree | 356e9d3a1d6ba61df203dab24fb7e2b5a50649cd /lib/netdev-notifier-error-inject.c | |
parent | f8e5eac8abe3d26106e5470c735058f04f60f61e (diff) |
maple_tree: fix mas_validate_child_slot() to check last missed slot
Don't break the loop before checking the last slot. Also here check if
non-leaf nodes are missing children.
Link: https://lkml.kernel.org/r/20230711035444.526-5-zhangpeng.00@bytedance.com
Signed-off-by: Peng Zhang <zhangpeng.00@bytedance.com>
Reviewed-by: Liam R. Howlett <Liam.Howlett@oracle.com>
Tested-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions