diff options
author | 2023-07-11 11:54:40 +0800 | |
---|---|---|
committer | 2023-08-18 10:12:21 -0700 | |
commit | e93fda5a1ab7a0c6143ae8a6f231c9f5f3c417b1 (patch) | |
tree | 356e9d3a1d6ba61df203dab24fb7e2b5a50649cd /mm/page_ext.c | |
parent | maple_tree: make mas_validate_gaps() to check metadata (diff) | |
download | wireguard-linux-e93fda5a1ab7a0c6143ae8a6f231c9f5f3c417b1.tar.xz wireguard-linux-e93fda5a1ab7a0c6143ae8a6f231c9f5f3c417b1.zip |
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 'mm/page_ext.c')
0 files changed, 0 insertions, 0 deletions