Module Name:    src
Committed By:   rmind
Date:           Tue May 24 14:18:03 UTC 2011

Modified Files:
        src/sys/fs/tmpfs: tmpfs_subr.c

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


To generate a diff of this commit:
cvs rdiff -u -r1.65 -r1.66 src/sys/fs/tmpfs/tmpfs_subr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/fs/tmpfs/tmpfs_subr.c
diff -u src/sys/fs/tmpfs/tmpfs_subr.c:1.65 src/sys/fs/tmpfs/tmpfs_subr.c:1.66
--- src/sys/fs/tmpfs/tmpfs_subr.c:1.65	Tue May 24 01:09:47 2011
+++ src/sys/fs/tmpfs/tmpfs_subr.c	Tue May 24 14:18:03 2011
@@ -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:

Reply via email to