Module Name: src
Committed By: dyoung
Date: Tue Jul 7 19:51:22 UTC 2009
Modified Files:
src/sys/dev: vnd.c
Log Message:
At the bottom of vndclear(), clear VNF_CLEARING: it is no longer
needed to exclude vndopen(), and it will prevent subsequent opens
if we leave it.
To generate a diff of this commit:
cvs rdiff -u -r1.202 -r1.203 src/sys/dev/vnd.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/dev/vnd.c
diff -u src/sys/dev/vnd.c:1.202 src/sys/dev/vnd.c:1.203
--- src/sys/dev/vnd.c:1.202 Thu Jul 2 02:06:11 2009
+++ src/sys/dev/vnd.c Tue Jul 7 19:51:22 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: vnd.c,v 1.202 2009/07/02 02:06:11 dyoung Exp $ */
+/* $NetBSD: vnd.c,v 1.203 2009/07/07 19:51:22 dyoung Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998, 2008 The NetBSD Foundation, Inc.
@@ -130,7 +130,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vnd.c,v 1.202 2009/07/02 02:06:11 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vnd.c,v 1.203 2009/07/07 19:51:22 dyoung Exp $");
#if defined(_KERNEL_OPT)
#include "fs_nfs.h"
@@ -1618,7 +1618,7 @@
#endif /* VND_COMPRESSION */
vnd->sc_flags &=
~(VNF_INITED | VNF_READONLY | VNF_VLABEL
- | VNF_VUNCONF | VNF_COMP);
+ | VNF_VUNCONF | VNF_COMP | VNF_CLEARING);
if (vp == NULL)
panic("vndclear: null vp");
(void) vn_close(vp, fflags, vnd->sc_cred);