]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: Skip multiple deletes in split calculation.
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Wed, 6 May 2020 18:04:47 +0000 (14:04 -0400)
committerLiam R. Howlett <Liam.Howlett@Oracle.com>
Fri, 30 Oct 2020 19:04:41 +0000 (15:04 -0400)
commitd9d01b5eeebf50cf792fb8fd87405c402b40f682
treedf83450259b83df88b27c9b94643695b3e1a3b18
parentc1ad87e61102c5ad5e0098f32fdd01bea7601651
maple_tree: Skip multiple deletes in split calculation.

When splitting, do not split within consecutive NULL entries.  Doing so
would cause separated gaps.

Also reset mas->node before walking in two other places which could
potentially cause issue.

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