]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: Use MAS_BUG_ON() when setting a leaf node as a parent
authorLiam R. Howlett <Liam.Howlett@oracle.com>
Thu, 1 Sep 2022 01:03:02 +0000 (21:03 -0400)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Thu, 27 Apr 2023 01:32:00 +0000 (21:32 -0400)
commitcf4fb11ae4ea9a07d3396516eb636b9f5276bd29
treef58f2b1c4e2fb0c7ce12923d679f7ddb8a15cea5
parent78f64d750e2c9a4589c3d2c6fd1337e82b8b115b
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 even
of an issue.

Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com>
lib/maple_tree.c