Staging: hv: util: Forcefully shutdown when shutdown is requested
authorK. Y. Srinivasan <kys@microsoft.com>
Sat, 27 Aug 2011 18:31:30 +0000 (11:31 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 29 Aug 2011 18:05:29 +0000 (11:05 -0700)
When the host requests a "shutdown", make sure we shutdown!

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/hv_util.c

index f2f456f..876d44a 100644 (file)
@@ -89,7 +89,7 @@ static void shutdown_onchannelcallback(void *context)
        }
 
        if (execute_shutdown == true)
-               orderly_poweroff(false);
+               orderly_poweroff(true);
 }
 
 /*