Skip to content

Commit

Permalink
Staging: hv: util: Forcefully shutdown when shutdown is requested
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed Aug 29, 2011
1 parent 70691ec commit ae2a0b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/hv/hv_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ static void shutdown_onchannelcallback(void *context)
}

if (execute_shutdown == true)
orderly_poweroff(false);
orderly_poweroff(true);
}

/*
Expand Down

0 comments on commit ae2a0b4

Please sign in to comment.