Source-Changes-HG archive

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

[src/trunk]: src/sys/ufs/lfs Ifdef out KDASSERT which fires on my machine.



details:   https://anonhg.NetBSD.org/src/rev/baa4cb7f48a3
branches:  trunk
changeset: 824812:baa4cb7f48a3
user:      maya <maya%NetBSD.org@localhost>
date:      Mon Jun 19 12:09:37 2017 +0000

description:
Ifdef out KDASSERT which fires on my machine.

diffstat:

 sys/ufs/lfs/lfs_subr.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (31 lines):

diff -r 1fd7f7796b2d -r baa4cb7f48a3 sys/ufs/lfs/lfs_subr.c
--- a/sys/ufs/lfs/lfs_subr.c    Mon Jun 19 11:57:01 2017 +0000
+++ b/sys/ufs/lfs/lfs_subr.c    Mon Jun 19 12:09:37 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lfs_subr.c,v 1.94 2017/06/10 05:29:36 maya Exp $       */
+/*     $NetBSD: lfs_subr.c,v 1.95 2017/06/19 12:09:37 maya Exp $       */
 
 /*-
  * Copyright (c) 1999, 2000, 2001, 2002, 2003 The NetBSD Foundation, Inc.
@@ -60,7 +60,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: lfs_subr.c,v 1.94 2017/06/10 05:29:36 maya Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lfs_subr.c,v 1.95 2017/06/19 12:09:37 maya Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -261,10 +261,12 @@
                }
        }
 
+#ifdef notyet /* XXX this assert fires */
        for (int i = 0; i < LFS_N_TOTAL; i++) {
                KDASSERTMSG(fs->lfs_resblk[i].p == p,
                    "lfs_free: inconsistent reserved block");
        }
+#endif
 
        mutex_exit(&lfs_lock);
 



Home | Main Index | Thread Index | Old Index