[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [win-pv-devel] [PATCH 3/3] Fix ASSERT
Signed-off-by: Owen Smith <owen.smith@xxxxxxxxxx> --- src/xenvbd/granter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xenvbd/granter.c b/src/xenvbd/granter.c index c5ae8bc..c2054de 100644 --- a/src/xenvbd/granter.c +++ b/src/xenvbd/granter.c @@ -86,6 +86,7 @@ GranterCreate( goto fail1; (*Granter)->Frontend = Frontend; + KeInitializeSpinLock(&(*Granter)->Lock); return STATUS_SUCCESS; @@ -99,6 +100,7 @@ GranterDestroy( ) { Granter->Frontend = NULL; + RtlZeroMemory(&Granter->Lock, sizeof(KSPIN_LOCK)); ASSERT(IsZeroMemory(Granter, sizeof(XENVBD_GRANTER))); @@ -161,8 +163,6 @@ GranterConnect( if (!NT_SUCCESS(status)) goto fail2; - KeInitializeSpinLock(&Granter->Lock); - status = XENBUS_GNTTAB(CreateCache, Granter->GnttabInterface, Name, -- 1.9.4.msysgit.1 _______________________________________________ win-pv-devel mailing list win-pv-devel@xxxxxxxxxxxxxxxxxxxx http://lists.xenproject.org/cgi-bin/mailman/listinfo/win-pv-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |