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
@@ -666,7 +666,7 @@ zfs_rangelock_reduce(zfs_locked_range_t *lr, uint64_t off, uint64_t len)
|
||||
|
||||
/* Ensure there are no other locks */
|
||||
ASSERT3U(avl_numnodes(&rl->rl_tree), ==, 1);
|
||||
ASSERT3U(lr->lr_offset, ==, 0);
|
||||
ASSERT0(lr->lr_offset);
|
||||
ASSERT3U(lr->lr_type, ==, RL_WRITER);
|
||||
ASSERT(!lr->lr_proxy);
|
||||
ASSERT3U(lr->lr_length, ==, UINT64_MAX);
|
||||
|
||||
Reference in New Issue
Block a user