summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorPeng Zhang <zhangpeng.00@bytedance.com>2023-07-11 06:54:40 +0300
committerAndrew Morton <akpm@linux-foundation.org>2023-08-18 20:12:21 +0300
commite93fda5a1ab7a0c6143ae8a6f231c9f5f3c417b1 (patch)
tree356e9d3a1d6ba61df203dab24fb7e2b5a50649cd /include/linux
parentf8e5eac8abe3d26106e5470c735058f04f60f61e (diff)
downloadlinux-e93fda5a1ab7a0c6143ae8a6f231c9f5f3c417b1.tar.xz
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 'include/linux')
0 files changed, 0 insertions, 0 deletions