Source-Changes-HG archive

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

[src/trunk]: src/sys/fs/tmpfs tmpfs_free_node: comment out assert, which can ...



details:   https://anonhg.NetBSD.org/src/rev/aca2cec17d05
branches:  trunk
changeset: 765350:aca2cec17d05
user:      rmind <rmind%NetBSD.org@localhost>
date:      Tue May 24 14:18:03 2011 +0000

description:
tmpfs_free_node: comment out assert, which can fire e.g. on shutdown.

diffstat:

 sys/fs/tmpfs/tmpfs_subr.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r e77880e0424e -r aca2cec17d05 sys/fs/tmpfs/tmpfs_subr.c
--- a/sys/fs/tmpfs/tmpfs_subr.c Tue May 24 13:48:16 2011 +0000
+++ b/sys/fs/tmpfs/tmpfs_subr.c Tue May 24 14:18:03 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tmpfs_subr.c,v 1.65 2011/05/24 01:09:47 rmind Exp $    */
+/*     $NetBSD: tmpfs_subr.c,v 1.66 2011/05/24 14:18:03 rmind Exp $    */
 
 /*
  * Copyright (c) 2005, 2006, 2007 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tmpfs_subr.c,v 1.65 2011/05/24 01:09:47 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tmpfs_subr.c,v 1.66 2011/05/24 14:18:03 rmind Exp $");
 
 #include <sys/param.h>
 #include <sys/dirent.h>
@@ -201,7 +201,7 @@
                }
                break;
        case VDIR:
-               KASSERT(TAILQ_EMPTY(&node->tn_spec.tn_dir.tn_dir));
+               /* KASSERT(TAILQ_EMPTY(&node->tn_spec.tn_dir.tn_dir)); */
                KASSERT(node->tn_spec.tn_dir.tn_parent || node == tmp->tm_root);
                break;
        default:



Home | Main Index | Thread Index | Old Index