mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-25 03:37:45 +03:00
Prefer VERIFY0(n) over VERIFY3U(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
c39e076f23
commit
5c7df3bcac
@@ -116,7 +116,7 @@ static void
|
||||
ddt_log_create_one(ddt_t *ddt, ddt_log_t *ddl, uint_t n, dmu_tx_t *tx)
|
||||
{
|
||||
ASSERT3U(ddt->ddt_dir_object, >, 0);
|
||||
ASSERT3U(ddl->ddl_object, ==, 0);
|
||||
ASSERT0(ddl->ddl_object);
|
||||
|
||||
char name[DDT_NAMELEN];
|
||||
ddt_log_name(ddt, name, n);
|
||||
|
||||
Reference in New Issue
Block a user