]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
add spanning_ascend() comment
authorLiam R. Howlett <Liam.Howlett@oracle.com>
Wed, 24 Sep 2025 16:31:59 +0000 (12:31 -0400)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Wed, 24 Sep 2025 16:31:59 +0000 (12:31 -0400)
Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com>
lib/maple_tree.c

index 8949bf3f66fffcab69bc0233430b74cdca1daf75..c03ca621c366c509ee94c05cbbe4dbcee089a629 100644 (file)
@@ -2846,6 +2846,14 @@ static inline bool cp_converged(struct maple_copy *cp, struct ma_state *mas,
        return true;
 }
 
+/* spanning_ascend() - See if a spanning store operation has to keep walking up
+ * the tree
+ * @cp: The maple_copy node
+ * @l_wr_mas: The left maple write state
+ * @r_wr_mas: The right maple write state
+ * @sib: the maple state of the sibling
+ *
+ */
 static bool spanning_ascend(struct maple_copy *cp, struct ma_state *mas,
                            struct ma_wr_state *l_wr_mas, struct ma_wr_state *r_wr_mas,
                            struct ma_state *sib)