]> 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>
Fri, 30 Oct 2020 19:12:45 +0000 (15:12 -0400)
commitc2a1b98c5440377274849f97a98b9891760ed5cf
treeeb19aca69751b3584ac65303466a9f6e051c590a
parenta5c2f6a789c8bd02270235eef7af59492729eca9
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