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:
Rob Norris
2025-08-04 20:22:42 +10:00
committed by Brian Behlendorf
parent c39e076f23
commit 5c7df3bcac
17 changed files with 33 additions and 33 deletions
+1 -1
View File
@@ -563,7 +563,7 @@ abd_get_offset_impl(abd_t *abd, abd_t *sabd, size_t off, size_t size)
left -= csize;
off = 0;
}
ASSERT3U(left, ==, 0);
ASSERT0(left);
} else {
abd = abd_get_offset_scatter(abd, sabd, off, size);
}