diff options
author | Liam R. Howlett <Liam.Howlett@oracle.com> | 2023-05-18 16:55:19 +0200 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-06-10 01:25:29 +0200 |
commit | bf96715eb485dd51bb783502694c3dfc63da923e (patch) | |
tree | 299f822d70d98117b41894cb31534075c7401ff3 /lib/parman.c | |
parent | maple_tree: convert debug code to use MT_WARN_ON() and MAS_WARN_ON() (diff) | |
download | linux-bf96715eb485dd51bb783502694c3dfc63da923e.tar.xz linux-bf96715eb485dd51bb783502694c3dfc63da923e.zip |
maple_tree: use MAS_BUG_ON() when setting a leaf node as a parent
Use MAS_BUG_ON() to dump the maple state and tree in the unlikely event of
an issue.
Link: https://lkml.kernel.org/r/20230518145544.1722059-11-Liam.Howlett@oracle.com
Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com>
Cc: David Binderman <dcb314@hotmail.com>
Cc: Peng Zhang <zhangpeng.00@bytedance.com>
Cc: Sergey Senozhatsky <senozhatsky@chromium.org>
Cc: Vernon Yang <vernon2gm@gmail.com>
Cc: Wei Yang <richard.weiyang@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'lib/parman.c')
0 files changed, 0 insertions, 0 deletions