diff --git a/module/zfs/dmu_traverse.c b/module/zfs/dmu_traverse.c index 7f10badfbe75..809f7f6165f9 100644 --- a/module/zfs/dmu_traverse.c +++ b/module/zfs/dmu_traverse.c @@ -157,7 +157,7 @@ static resume_skip_t resume_skip_check(const traverse_data_t *td, const dnode_phys_t *dnp, const zbookmark_phys_t *zb) { - if (td->td_resume != NULL && !ZB_IS_ZERO(td->td_resume)) { + if (td->td_resume != NULL) { /* * If we already visited this bp & everything below, * don't bother doing it again. @@ -235,12 +235,6 @@ traverse_visitbp(traverse_data_t *td, const dnode_phys_t *dnp, ASSERT(0); } - if (td->td_resume != NULL && - memcmp(zb, td->td_resume, sizeof (*zb)) == 0) { - /* found the resume point; no longer resuming */ - memset(td->td_resume, 0, sizeof (*zb)); - } - if (bp->blk_birth == 0) { /* * Since this block has a birth time of 0 it must be one of