From 86f617e90f3e06f970c3ea9b32836e29500836ab Mon Sep 17 00:00:00 2001 From: Eli Rosenthal Date: Thu, 2 Jun 2016 21:06:18 -0700 Subject: [PATCH] 7028 avl_destroy_nodes supports emptying, not just destroying, an avl tree Reviewed by: Matthew Ahrens Reviewed by: Paul Dagnelie Reviewed by: Igor Kozhukhov Approved by: Gordon Ross --- usr/src/common/avl/avl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr/src/common/avl/avl.c b/usr/src/common/avl/avl.c index ead2fca2ce..0411afb4c5 100644 --- a/usr/src/common/avl/avl.c +++ b/usr/src/common/avl/avl.c @@ -24,8 +24,8 @@ */ /* - * Copyright (c) 2014 by Delphix. All rights reserved. * Copyright 2015 Nexenta Systems, Inc. All rights reserved. + * Copyright (c) 2015 by Delphix. All rights reserved. */ /* @@ -952,8 +952,8 @@ avl_is_empty(avl_tree_t *tree) /* * Post-order tree walk used to visit all tree nodes and destroy the tree - * in post order. This is used for destroying a tree without paying any cost - * for rebalancing it. + * in post order. This is used for removing all the nodes from a tree without + * paying any cost for rebalancing it. * * example: * -- 2.11.4.GIT