mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 22:15:20 +00:00
add comments 'tree_lock(write) must be held'
This commit is contained in:
@@ -1728,6 +1728,9 @@ clean_zone_node(dns_rbtdb_t *rbtdb, dns_rbtnode_t *node,
|
||||
node->dirty = 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* tree_lock(write) must be held.
|
||||
*/
|
||||
static void
|
||||
delete_node(dns_rbtdb_t *rbtdb, dns_rbtnode_t *node) {
|
||||
dns_rbtnode_t *nsecnode;
|
||||
@@ -2652,6 +2655,8 @@ closeversion(dns_db_t *db, dns_dbversion_t **versionp, bool commit) {
|
||||
* E.g. if the wildcard name is "*.sub.example." then we
|
||||
* must ensure that "sub.example." exists and is marked as
|
||||
* a wildcard level.
|
||||
*
|
||||
* tree_lock(write) must be held.
|
||||
*/
|
||||
static isc_result_t
|
||||
add_wildcard_magic(dns_rbtdb_t *rbtdb, const dns_name_t *name) {
|
||||
@@ -2676,6 +2681,9 @@ add_wildcard_magic(dns_rbtdb_t *rbtdb, const dns_name_t *name) {
|
||||
return (ISC_R_SUCCESS);
|
||||
}
|
||||
|
||||
/*
|
||||
* tree_lock(write) must be held.
|
||||
*/
|
||||
static isc_result_t
|
||||
add_empty_wildcards(dns_rbtdb_t *rbtdb, const dns_name_t *name) {
|
||||
isc_result_t result;
|
||||
|
Reference in New Issue
Block a user