maple_tree: convert BUG_ON() to MT_BUG_ON()
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Thu, 18 May 2023 14:55:16 +0000 (10:55 -0400)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 9 Jun 2023 23:25:28 +0000 (16:25 -0700)
commit0d7c52bb29302bf06e6774f4d6494e942213205e
treef146c907d9724915a6d2719ee67cf1cbd6824f2f
parentf0a1f866aba1ca62ef6f17d1c441eba65f2d6845
maple_tree: convert BUG_ON() to MT_BUG_ON()

Use MT_BUG_ON() to get more information when running with MAPLE_TREE_DEBUG
enabled.

Link: https://lkml.kernel.org/r/20230518145544.1722059-8-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>
lib/maple_tree.c