mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-25 03:37:45 +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
@@ -718,7 +718,7 @@ spa_mmp_history_set(spa_t *spa, uint64_t mmp_node_id, int io_error,
|
||||
for (smh = list_tail(&shl->procfs_list.pl_list); smh != NULL;
|
||||
smh = list_prev(&shl->procfs_list.pl_list, smh)) {
|
||||
if (smh->mmp_node_id == mmp_node_id) {
|
||||
ASSERT(smh->io_error == 0);
|
||||
ASSERT0(smh->io_error);
|
||||
smh->io_error = io_error;
|
||||
smh->duration = duration;
|
||||
error = 0;
|
||||
|
||||
Reference in New Issue
Block a user