Module Name: src
Committed By: ad
Date: Sat May 23 18:19:19 UTC 2009
Modified Files:
src/sys/nfs: nfs_export.c
Log Message:
Broken assertion.
To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 src/sys/nfs/nfs_export.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/nfs/nfs_export.c
diff -u src/sys/nfs/nfs_export.c:1.46 src/sys/nfs/nfs_export.c:1.47
--- src/sys/nfs/nfs_export.c:1.46 Sat May 23 15:59:30 2009
+++ src/sys/nfs/nfs_export.c Sat May 23 18:19:19 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: nfs_export.c,v 1.46 2009/05/23 15:59:30 ad Exp $ */
+/* $NetBSD: nfs_export.c,v 1.47 2009/05/23 18:19:19 ad Exp $ */
/*-
* Copyright (c) 1997, 1998, 2004, 2005, 2008 The NetBSD Foundation, Inc.
@@ -77,7 +77,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nfs_export.c,v 1.46 2009/05/23 15:59:30 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nfs_export.c,v 1.47 2009/05/23 18:19:19 ad Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -207,8 +207,6 @@
struct mount *mp;
int error;
- KASSERT(mp != NULL);
-
while (!CIRCLEQ_EMPTY(&netexport_list)) {
netexport_wrlock();
ne = CIRCLEQ_FIRST(&netexport_list);