Skip to content
Permalink
Browse files

5311 traverse_dnode may report success when it should not

Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Andriy Gapon <avg@FreeBSD.org>
Reviewed by: Will Andrews <willa@spectralogic.com>
Approved by: Dan McDonald <danmcd@omniti.com>
  • Loading branch information...
Justin T. Gibbs Christopher Siden
Justin T. Gibbs authored and Christopher Siden committed Nov 23, 2014
1 parent 587644a commit 2a89c2c59b7c2beb2373c14368cbe7e32af6ffc1
Showing with 1 addition and 1 deletion.
  1. +1 −1 usr/src/uts/common/fs/zfs/dmu_traverse.c
@@ -429,7 +429,7 @@ traverse_dnode(traverse_data_t *td, const dnode_phys_t *dnp,
break;
}

if (dnp->dn_flags & DNODE_FLAG_SPILL_BLKPTR) {
if (err == 0 && dnp->dn_flags & DNODE_FLAG_SPILL_BLKPTR) {
SET_BOOKMARK(&czb, objset, object, 0, DMU_SPILL_BLKID);
err = traverse_visitbp(td, dnp, &dnp->dn_spill, &czb);
}

0 comments on commit 2a89c2c

Please sign in to comment.
You can’t perform that action at this time.