Module Name: src
Committed By: sborrill
Date: Sat Oct 31 12:53:22 UTC 2009
Modified Files:
src/sys/arch/xen/xen [netbsd-5]: xbdback_xenbus.c
Log Message:
Pull up the following revisions(s) (requested by bouyer in ticket #1117):
sys/arch/xen/xen/xbdback_xenbus.c: revision 1.28
Fix stalled xbdback detach that would stall the whole xenbus thread,
preventing new domU from be created.
To generate a diff of this commit:
cvs rdiff -u -r1.20.4.2 -r1.20.4.3 src/sys/arch/xen/xen/xbdback_xenbus.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/arch/xen/xen/xbdback_xenbus.c
diff -u src/sys/arch/xen/xen/xbdback_xenbus.c:1.20.4.2 src/sys/arch/xen/xen/xbdback_xenbus.c:1.20.4.3
--- src/sys/arch/xen/xen/xbdback_xenbus.c:1.20.4.2 Fri Oct 16 07:04:37 2009
+++ src/sys/arch/xen/xen/xbdback_xenbus.c Sat Oct 31 12:53:21 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: xbdback_xenbus.c,v 1.20.4.2 2009/10/16 07:04:37 snj Exp $ */
+/* $NetBSD: xbdback_xenbus.c,v 1.20.4.3 2009/10/31 12:53:21 sborrill Exp $ */
/*
* Copyright (c) 2006 Manuel Bouyer.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xbdback_xenbus.c,v 1.20.4.2 2009/10/16 07:04:37 snj Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xbdback_xenbus.c,v 1.20.4.3 2009/10/31 12:53:21 sborrill Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -989,6 +989,7 @@
if (xbdi->xbdi_pendingreqs > 0) {
/* event or iodone will restart processing */
xbdi->xbdi_cont = NULL;
+ xbdi_put(xbdi);
return NULL;
}
xbdi->xbdi_cont = xbdback_co_cache_doflush;