]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple tree: Store plain node in ms->node
authorMatthew Wilcox <willy@infradead.org>
Tue, 4 Dec 2018 15:05:04 +0000 (10:05 -0500)
committerMatthew Wilcox <willy@infradead.org>
Tue, 4 Dec 2018 15:05:04 +0000 (10:05 -0500)
commit69d45e4516b4807211271a31e239cdc56c9b129a
tree8d9e93d70bb18fa4a2194371a8db713b91eb72c6
parentc6cbaef94ffde3f24643e2c9f907cb5463dd98a3
maple tree: Store plain node in ms->node

Abandon the _maple_mk_node encoding in the ms->node (a future patch will
use this bit pattern for encoding errors like the XArray).  We also need
to distinguish between "Start walking" and "We have found the entry;
it's in the root".  Also correct a few xa_is_internal() that should have
been xa_is_node().

Signed-off-by: Matthew Wilcox <willy@infradead.org>
include/linux/maple_tree.h
lib/maple_tree.c