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 f2f456f5e444ae6fbeaeb36a3ad68161a394318e..876d44a8a8616aa82fd4eb9325de6979b85c6621 100644 (file)
@@ -89,7 +89,7 @@ static void shutdown_onchannelcallback(void *context)
        }
 
        if (execute_shutdown == true)
-               orderly_poweroff(false);
+               orderly_poweroff(true);
 }
 
 /*