maple_tree: simplify mas_is_span_wr()
authorPeng Zhang <zhangpeng.00@bytedance.com>
Wed, 24 May 2023 03:12:41 +0000 (11:12 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 9 Jun 2023 23:25:44 +0000 (16:25 -0700)
commitbc147f0f70a3f0ce3f3978d9476a4e894e1aad88
tree52923a859728165657cf41e2606c49ff0935bce0
parent14c4b5ab6a43495d0153958d5fe6c6c6ace49e91
maple_tree: simplify mas_is_span_wr()

Make the code for detecting spanning writes more concise.

Link: https://lkml.kernel.org/r/20230524031247.65949-5-zhangpeng.00@bytedance.com
Signed-off-by: Peng Zhang <zhangpeng.00@bytedance.com>
Reviewed-by: Liam R. Howlett <Liam.Howlett@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
lib/maple_tree.c