Print this page
3006 VERIFY[S,U,P] and ASSERT[S,U,P] frequently check if first argument is zero

@@ -2136,11 +2136,11 @@
                 ASSERT(zio->io_child_type > ZIO_CHILD_GANG);
                 zio->io_gang_leader = zio;
         }
 
         ASSERT(BP_IS_HOLE(bp));
-        ASSERT3U(BP_GET_NDVAS(bp), ==, 0);
+        ASSERT0(BP_GET_NDVAS(bp));
         ASSERT3U(zio->io_prop.zp_copies, >, 0);
         ASSERT3U(zio->io_prop.zp_copies, <=, spa_max_replication(spa));
         ASSERT3U(zio->io_size, ==, BP_GET_PSIZE(bp));
 
         /*