]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: Fix error in retry logic.
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Fri, 7 Dec 2018 20:57:09 +0000 (15:57 -0500)
committerLiam R. Howlett <Liam.Howlett@Oracle.com>
Fri, 7 Dec 2018 20:57:09 +0000 (15:57 -0500)
commitdca17b31605531a8af5fd8194aa14341dce58523
tree8b61d9cfbcecd5c4a32d1a8a079d7d38ac7b9d4d
parent1ac3568adc968ecfea412e6f7994cc746a17bbf5
maple_tree: Fix error in retry logic.

_maple_insert cannot return MAS_START and does not need to allocate any
memory ever.  _maple_setup_insert is the only function that would
request a restart due to no memory.  _maple_setup_insert can either do
this by a split or by expanding root.

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