Skip to content
Permalink
Browse files

Fix incorrect assertion in dnode_dirty_l1range

Signed-off-by: Paul Dagnelie <pcd@delphix.com>
  • Loading branch information...
pcd1193182 committed May 14, 2019
1 parent f378f42 commit 7deebafe200af64160f225d19ed705e6f5f5b3f1
Showing with 2 additions and 1 deletion.
  1. +2 −1 module/zfs/dnode.c
@@ -1967,7 +1967,8 @@ dnode_dirty_l1range(dnode_t *dn, uint64_t start_blkid, uint64_t end_blkid,
for (; db != NULL; db = AVL_NEXT(&dn->dn_dbufs, db)) {
if (db->db_level != 1 || db->db_blkid >= end_blkid)
break;
ASSERT(db->db_dirtycnt > 0);
if (db->db_state != DB_EVICTING)
ASSERT(db->db_dirtycnt > 0);
}
#endif
mutex_exit(&dn->dn_dbufs_mtx);

0 comments on commit 7deebaf

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