OSDN Git Service

maple_tree: add comments and some minor cleanups to mas_wr_append()
authorPeng Zhang <zhangpeng.00@bytedance.com>
Wed, 24 May 2023 03:12:44 +0000 (11:12 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 9 Jun 2023 23:25:45 +0000 (16:25 -0700)
commit2e1da329b424c693662e7e2afa34654989de3fac
treea076f22cfa29722071a87594954fbd198749a51d
parentc6fc9e4a5c505228032fa645e32341d243d51959
maple_tree: add comments and some minor cleanups to mas_wr_append()

Add comment for mas_wr_append(), move mas_update_gap() into
mas_wr_append(), and other cleanups to make mas_wr_modify() cleaner.

Link: https://lkml.kernel.org/r/20230524031247.65949-8-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