From: K. Y. Srinivasan Date: Sat, 27 Aug 2011 18:31:30 +0000 (-0700) Subject: Staging: hv: util: Forcefully shutdown when shutdown is requested X-Git-Tag: firefly_0821_release~3680^2~4313^2^2~832 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ae2a0b42bfe6e7eb9251bfb05f7a03008df446a8;p=firefly-linux-kernel-4.4.55.git Staging: hv: util: Forcefully shutdown when shutdown is requested When the host requests a "shutdown", make sure we shutdown! Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/hv/hv_util.c b/drivers/staging/hv/hv_util.c index f2f456f5e444..876d44a8a861 100644 --- a/drivers/staging/hv/hv_util.c +++ b/drivers/staging/hv/hv_util.c @@ -89,7 +89,7 @@ static void shutdown_onchannelcallback(void *context) } if (execute_shutdown == true) - orderly_poweroff(false); + orderly_poweroff(true); } /*