mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
INSIST that the zone in locked before unlocking
This is the counterpart to the INSIST(!zone->locked) when the zone
is locked.
(cherry picked from commit aa686512df)
This commit is contained in:
parent
31918336e8
commit
12a0f80b99
1 changed files with 1 additions and 0 deletions
|
|
@ -193,6 +193,7 @@ typedef struct dns_include dns_include_t;
|
|||
} while (0)
|
||||
#define UNLOCK_ZONE(z) \
|
||||
do { \
|
||||
INSIST((z)->locked); \
|
||||
(z)->locked = false; \
|
||||
UNLOCK(&(z)->lock); \
|
||||
} while (0)
|
||||
|
|
|
|||
Loading…
Reference in a new issue