Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/cddl/osnet/dist/uts/common/fs/zfs Comment out index...



details:   https://anonhg.NetBSD.org/src/rev/d6b1a26a54b1
branches:  trunk
changeset: 938419:d6b1a26a54b1
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Sep 07 19:04:27 2020 +0000

description:
Comment out index out of bounds debugging code.

diffstat:

 external/cddl/osnet/dist/uts/common/fs/zfs/dnode_sync.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (19 lines):

diff -r 8448356eef58 -r d6b1a26a54b1 external/cddl/osnet/dist/uts/common/fs/zfs/dnode_sync.c
--- a/external/cddl/osnet/dist/uts/common/fs/zfs/dnode_sync.c   Mon Sep 07 18:49:15 2020 +0000
+++ b/external/cddl/osnet/dist/uts/common/fs/zfs/dnode_sync.c   Mon Sep 07 19:04:27 2020 +0000
@@ -689,6 +689,7 @@
                        bzero(dnp->dn_blkptr + dnp->dn_nblkptr,
                            sizeof (blkptr_t) *
                            (dn->dn_next_nblkptr[txgoff] - dnp->dn_nblkptr));
+#ifdef notyet /* XXX: gcc-9 */
 #ifdef ZFS_DEBUG
                } else {
                        int i;
@@ -698,6 +699,7 @@
                            i < dnp->dn_nblkptr; i++)
                                ASSERT(BP_IS_HOLE(&dnp->dn_blkptr[i]));
 #endif
+#endif
                }
                mutex_enter(&dn->dn_mtx);
                dnp->dn_nblkptr = dn->dn_next_nblkptr[txgoff];



Home | Main Index | Thread Index | Old Index