]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: Fix mas_dead_node for a trivial tree
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Sun, 13 Oct 2019 03:21:36 +0000 (23:21 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Sun, 13 Oct 2019 03:26:31 +0000 (23:26 -0400)
commit38daf8125a546671acd3baec61e3892eeb29eaf5
tree7ab83f1656de6d5b952537ded0a2ef427a7c451f
parent749dea9da9a14ccbbf9f6f51e57240e12d43c3a5
maple_tree: Fix mas_dead_node for a trivial tree

For a tree with no entries, or an entry only at 0, mas_dead_node()
can be called with a mas->node of NULL.  This node is, by definition,
not dead.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
lib/maple_tree.c