mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-27 04:32:16 +03:00
Prefer VERIFY0P(n) over VERIFY3P(n, ==, NULL)
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
f7bdd84328
commit
82d6f7b047
@@ -501,7 +501,7 @@ dsl_bookmark_create_sync_impl_snap(const char *bookmark, const char *snapshot,
|
||||
sizeof (uint64_t) * num_redact_snaps);
|
||||
local_rl->rl_phys->rlp_num_snaps = num_redact_snaps;
|
||||
if (bookmark_redacted) {
|
||||
ASSERT3P(redaction_list, ==, NULL);
|
||||
ASSERT0P(redaction_list);
|
||||
local_rl->rl_phys->rlp_last_blkid = UINT64_MAX;
|
||||
local_rl->rl_phys->rlp_last_object = UINT64_MAX;
|
||||
dsl_redaction_list_long_rele(local_rl, tag);
|
||||
|
||||
Reference in New Issue
Block a user