summaryrefslogtreecommitdiff
path: root/fs/inode.c
diff options
context:
space:
mode:
authorPeng Zhang <zhangpeng.00@bytedance.com>2023-11-20 15:09:37 +0800
committerAndrew Morton <akpm@linux-foundation.org>2023-12-12 10:57:01 -0800
commit330018fe69c66333cb2115e54f1844e471668fc3 (patch)
treedb7eda83e591b1889ee6cde546ddf914152ca2a9 /fs/inode.c
parent026b935cd929c18d496fbf9432e8174ec40cdbc8 (diff)
maple_tree: simplify mas_leaf_set_meta()
Now it seems that the incoming 'end' is already pointing to the last item, so we can simplify this function, considering only whether the last slot is being used. This has passed the maple tree test suite. Link: https://lkml.kernel.org/r/20231120070937.35481-6-zhangpeng.00@bytedance.com Signed-off-by: Peng Zhang <zhangpeng.00@bytedance.com> Reviewed-by: Liam R. Howlett <Liam.Howlett@oracle.com> Cc: Dan Carpenter <dan.carpenter@linaro.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'fs/inode.c')
0 files changed, 0 insertions, 0 deletions