]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: arange64 node is not a leaf node
authorWei Yang <richard.weiyang@gmail.com>
Mon, 26 Aug 2024 01:24:21 +0000 (01:24 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 9 Sep 2024 23:39:01 +0000 (16:39 -0700)
commit81528310698726e8f79b9c3de01ebe02567119dd
tree4362c97a1e78e9ae54e7e3cf479499ce30bf25ae
parente9c0bfd704e360eb151ca2d65229fbe425c563e7
maple_tree: arange64 node is not a leaf node

mt_dump_arange64() only applies to an entry whose type is maple_arange_64,
in which mte_is_leaf() must return false.

Since mte_is_leaf() here is always false, we can remove this condition
check.

Link: https://lkml.kernel.org/r/20240826012422.29935-1-richard.weiyang@gmail.com
Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
Reviewed-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
Cc: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
lib/maple_tree.c