]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: Return error on mte_pivots() out of range
authorLiam R. Howlett <Liam.Howlett@oracle.com>
Fri, 2 Sep 2022 15:23:21 +0000 (11:23 -0400)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Tue, 13 Dec 2022 21:22:37 +0000 (16:22 -0500)
commita50220fc832c864377806f342cfc18778da7c1f8
tree68e1009145c80df46ca94ae2c8d9e3b8bd92b0fd
parent321899249bb7a6bd4e94fe82c93051e97b56fc88
maple_tree: Return error on mte_pivots() out of range

Rename mte_pivots() to mas_pivots() and pass through the ma_state to set
the error code to -EIO when the offset is out of range for the node
type.

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