From: Andre Noll Date: Mon, 9 Apr 2012 19:57:54 +0000 (+0200) Subject: btr: Remove btr_free_node(). X-Git-Tag: v0.4.11~1^2~2 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=4ac3134c050ba28b57e0ae9686eb1f6d83e6d586;hp=4ac3134c050ba28b57e0ae9686eb1f6d83e6d586 btr: Remove btr_free_node(). This has turned out to be source for bugs. Deallocate everything in btr_remove_node() hence making removing the node and freeing its resources an atomic operation. To avoid dangling pointers to freed btrn nodes, the argument of btr_remove_node() is changed to to struct btr_node **btrnp. ---