]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: use ma_is_root() in mas_replace().
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Tue, 9 Feb 2021 00:34:00 +0000 (19:34 -0500)
committerLiam R. Howlett <Liam.Howlett@Oracle.com>
Tue, 9 Feb 2021 00:34:00 +0000 (19:34 -0500)
commit2dab576b5cefe5e0db34ca6e7cbf2e4d3e557e10
tree0ff152fccf0c14a4a774a20e33bd6e55b3cb8d0a
parentcf8dcab1959006af3a55d708c2c85609e284ec14
maple_tree: use ma_is_root() in mas_replace().

Instead of using mte_is_root(), use ma_is_root() directly since the maple node
is known already.

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