summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorPeng Zhang <zhangpeng.00@bytedance.com>2023-07-11 06:54:39 +0300
committerAndrew Morton <akpm@linux-foundation.org>2023-08-18 20:12:21 +0300
commitf8e5eac8abe3d26106e5470c735058f04f60f61e (patch)
treef1776d1abd44db5e7096b52707e1bd0cbd6c183b /include/linux
parentd695c30a8ca07ac7e2138435b461b36289d5656e (diff)
downloadlinux-f8e5eac8abe3d26106e5470c735058f04f60f61e.tar.xz
maple_tree: make mas_validate_gaps() to check metadata
Make mas_validate_gaps() check whether the offset in the metadata points to the largest gap. By the way, simplify this function. Add the verification that gaps beyond the node limit are zero. Link: https://lkml.kernel.org/r/20230711035444.526-4-zhangpeng.00@bytedance.com Signed-off-by: Peng Zhang <zhangpeng.00@bytedance.com> Tested-by: Geert Uytterhoeven <geert@linux-m68k.org> Reviewed-by: Liam R. Howlett <Liam.Howlett@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions