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
@@ -151,8 +151,8 @@ dsl_dir_evict_async(void *dbu)
|
||||
|
||||
for (t = 0; t < TXG_SIZE; t++) {
|
||||
ASSERT(!txg_list_member(&dp->dp_dirty_dirs, dd, t));
|
||||
ASSERT(dd->dd_tempreserved[t] == 0);
|
||||
ASSERT(dd->dd_space_towrite[t] == 0);
|
||||
ASSERT0(dd->dd_tempreserved[t]);
|
||||
ASSERT0(dd->dd_space_towrite[t]);
|
||||
}
|
||||
|
||||
if (dd->dd_parent)
|
||||
|
||||
Reference in New Issue
Block a user