]> 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>
Tue, 5 Jan 2021 17:28:28 +0000 (12:28 -0500)
commit7f81aead126612210c0a2ddd2706b905df64762f
tree93138dee64d6b9849d727e08a05e37bdfb80bdc2
parent0ac05e2c872360a8bed7bff44b43fc937bd8affd
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