[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [win-pv-devel] [PATCH xenvbd] Prevent IsZeroMemory() ASSERTions when XENDISK shuts down
Pdo->PhysSectorSize needs to be zeroed out. Signed-off-by: Paul Durrant <paul.durrant@xxxxxxxxxx> --- src/xendisk/pdo.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/xendisk/pdo.c b/src/xendisk/pdo.c index 62e15b2..d996643 100644 --- a/src/xendisk/pdo.c +++ b/src/xendisk/pdo.c @@ -1024,6 +1024,7 @@ __PdoStopDevice( IoReleaseRemoveLock(&Pdo->Dx->RemoveLock, Irp); + Pdo->PhysSectorSize = 0; Pdo->SectorSize = 0; return STATUS_SUCCESS; @@ -1276,6 +1277,7 @@ done: status = PdoForwardIrpSynchronously(Pdo, Irp); IoCompleteRequest(Irp, IO_NO_INCREMENT); + Pdo->PhysSectorSize = 0; Pdo->SectorSize = 0; FdoAcquireMutex(Fdo); -- 2.5.3 _______________________________________________ win-pv-devel mailing list win-pv-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/win-pv-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |