mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-24 03:08:51 +03:00
Prefer VERIFY0P(n) over VERIFY(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
611b95da18
commit
f7bdd84328
+1
-1
@@ -3796,7 +3796,7 @@ arc_evict_hdr(arc_buf_hdr_t *hdr, uint64_t *real_evicted)
|
||||
DTRACE_PROBE1(arc__delete, arc_buf_hdr_t *, hdr);
|
||||
|
||||
if (HDR_HAS_L2HDR(hdr)) {
|
||||
ASSERT(hdr->b_l1hdr.b_pabd == NULL);
|
||||
ASSERT0P(hdr->b_l1hdr.b_pabd);
|
||||
ASSERT(!HDR_HAS_RABD(hdr));
|
||||
/*
|
||||
* This buffer is cached on the 2nd Level ARC;
|
||||
|
||||
Reference in New Issue
Block a user