Skip to contentSkip to conversation

tools/xenstore: remove stale comment in create_node()

PATCH New Juergen Gross 1 participant 1 message Mar 28, 2023

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 tools/xenstore: remove stale comment in create_node()

There is a part of a comment in create_node() which should have been deleted when modifying the related coding.

Fixes 1cd3cc7ea27c ("tools/xenstore: create_node: Don't defer work to undo any changes on failure")

---
V2:
- add Fixes: tag (Julien Grall)

---
 tools/xenstore/xenstored_core.c | 3 ---
 1 file changed, 3 deletions(-)
tools/xenstore/xenstored_core.c +0 -3
index 7348f935bc..a61db2db2d 100644
@@ -1480,9 +1480,6 @@ static struct node *create_node(struct connection *conn, const void *ctx,
 	 * All new created nodes will have i->parent set, while the final
 	 * node will be already existing and won't have i->parent set.
 	 * New nodes are subject to quota handling.
-	 * Initially set a destructor for all new nodes removing them from
-	 * TDB again and undoing quota accounting for the case of an error
-	 * during the write loop.
 	 */
 	for (i = node; i; i = i->parent) {
 		/* i->parent is set for each new node, so check quota. */
Signature · 1 line
2.35.3