mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-24 19:28:53 +03:00
Prefer VERIFY0(n) over VERIFY(n == 0)
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Alexander Motin <alexander.motin@TrueNAS.com> Signed-off-by: Rob Norris <robn@despairlabs.com> Sponsored-by: https://despairlabs.com/sponsor/ Closes #17591
This commit is contained in:
committed by
Brian Behlendorf
parent
2564308cb2
commit
c39e076f23
@@ -534,7 +534,7 @@ out:
|
||||
static void
|
||||
dsl_crypto_key_free(dsl_crypto_key_t *dck)
|
||||
{
|
||||
ASSERT(zfs_refcount_count(&dck->dck_holds) == 0);
|
||||
ASSERT0(zfs_refcount_count(&dck->dck_holds));
|
||||
|
||||
/* destroy the zio_crypt_key_t */
|
||||
zio_crypt_key_destroy(&dck->dck_key);
|
||||
|
||||
Reference in New Issue
Block a user