Skip to content
Commit e0f829b7 authored by Liam R. Howlett's avatar Liam R. Howlett Committed by Suren Baghdasaryan
Browse files

UPSTREAM: maple_tree: introduce mas_tree_parent() definition

Add a definition to shorten long code lines and clarify what the code is
doing.  Use the new definition to get the maple tree parent pointer from
the maple state where possible.

Link: https://lkml.kernel.org/r/20230804165951.2661157-5-Liam.Howlett@oracle.com


Signed-off-by: default avatarLiam R. Howlett <Liam.Howlett@oracle.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Paul E. McKenney <paulmck@kernel.org>
Cc: Suren Baghdasaryan <surenb@google.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>

(cherry picked from commit 4ffc2ee2)
Bug: 305159730
Signed-off-by: default avatarHyesoo Yu <hyesoo.yu@samsung.com>
Change-Id: I4d5ff0c8d3089dfa005a7ae31329b3ce8681fc4f
parent e69d6570
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment