[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH xenbus 01/11] Clear 'Success' in SUSPEND_CONTEXT after it has been used
From: Paul Durrant <pdurrant@xxxxxxxxxx> Leaving it set to TRUE causes an ASSERTion failure in a checked build if it is disabled/unloaded after a resume-from-suspend. Signed-off-by: Paul Durrant <pdurrant@xxxxxxxxxx> --- src/xenbus/suspend.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/xenbus/suspend.c b/src/xenbus/suspend.c index f058a4f1edfc..471c0c4c1972 100644 --- a/src/xenbus/suspend.c +++ b/src/xenbus/suspend.c @@ -287,6 +287,8 @@ SuspendTrigger( SyncEnableInterrupts(); SyncRelease(); + Context->Success = FALSE; + LogPrintf(LOG_LEVEL_INFO, "SUSPEND: <====\n"); KeLowerIrql(Irql); -- 2.17.1
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |