diff options
author | Liam R. Howlett <Liam.Howlett@oracle.com> | 2023-05-18 16:55:24 +0200 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-06-10 01:25:30 +0200 |
commit | acd4de60dd356ffef57149237d9d727325a4f8ef (patch) | |
tree | 805ab9cdf44cfbae378f50b59f6c82efc87d0482 /lib/gen_crc64table.c | |
parent | maple_tree: use MAS_BUG_ON() prior to calling mas_meta_gap() (diff) | |
download | linux-acd4de60dd356ffef57149237d9d727325a4f8ef.tar.xz linux-acd4de60dd356ffef57149237d9d727325a4f8ef.zip |
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.
Change the WARN_ON() to MAS_WARN_ON() to log the maple state.
Link: https://lkml.kernel.org/r/20230518145544.1722059-16-Liam.Howlett@oracle.com
Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com>
Reviewed-by: Peng Zhang <zhangpeng.00@bytedance.com>
Cc: David Binderman <dcb314@hotmail.com>
Cc: Sergey Senozhatsky <senozhatsky@chromium.org>
Cc: Vernon Yang <vernon2gm@gmail.com>
Cc: Wei Yang <richard.weiyang@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'lib/gen_crc64table.c')
0 files changed, 0 insertions, 0 deletions