diff options
author | Eli Rosenthal <[email protected]> | 2016-06-02 21:06:18 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2017-08-30 12:08:38 -0700 |
commit | 74ea6092d0693b6e1c6daaee0fdc79491697996c (patch) | |
tree | 5c04182475ec3184c4bfd738bf8083506a4a434c /module/avl | |
parent | de327eccbb063c2321a40e167ad5c5b54ce2c227 (diff) |
OpenZFS 7028 - avl_destroy_nodes supports emptying, not just destroying, an avl tree
Authored by: Eli Rosenthal <[email protected]>
Reviewed by: Matthew Ahrens <[email protected]>
Reviewed by: Paul Dagnelie <[email protected]>
Reviewed by: Igor Kozhukhov <[email protected]>
Approved by: Gordon Ross <[email protected]>
Reviewed-by: George Melikov <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Ported-by: Giuseppe Di Natale <[email protected]>
OpenZFS-issue: https://www.illumos.org/issues/7028
OpenZFS-commit: https://github.com/openzfs/openzfs/commit/86f617e
Closes #6583
Diffstat (limited to 'module/avl')
-rw-r--r-- | module/avl/avl.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/module/avl/avl.c b/module/avl/avl.c index 86183fea0..7a79f3785 100644 --- a/module/avl/avl.c +++ b/module/avl/avl.c @@ -24,7 +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. */ /* @@ -948,8 +949,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: * |