]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: Fix mte_destroy_walk() overwriting slots when spinlock debug is enabled.
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Thu, 1 Oct 2020 14:03:22 +0000 (10:03 -0400)
committerLiam R. Howlett <Liam.Howlett@Oracle.com>
Tue, 5 Jan 2021 17:30:32 +0000 (12:30 -0500)
commita9d365333b7f62be348ba8737dfb6e73755974cf
treef4f80d08eeb43ff03a7673f21ba820b269d06b5d
parentf6ace0a50076b6f4e73b52b9483545d1e0140574
maple_tree: Fix mte_destroy_walk() overwriting slots when spinlock debug is enabled.

When spinlock debug is enabled, the size fo the spinlock expands and causes the anon union
in maple_node to overwrite slots.  Fix this by only passing through the maple flags.

Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
include/linux/maple_tree.h
lib/maple_tree.c