Drivers: hv: balloon: reset host_specified_ha_region
authorVitaly Kuznetsov <vkuznets@redhat.com>
Sun, 1 May 2016 02:21:36 +0000 (19:21 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 1 May 2016 16:23:14 +0000 (09:23 -0700)
commitd19a55d6ed5bf0ffe553df2d8bf91d054ddf2d76
tree9f0146ea025d4d7423e7d2fa0137b92d7b4984fa
parent77c0c9735bc0ba5898e637a3a20d6bcb50e3f67d
Drivers: hv: balloon: reset host_specified_ha_region

We set host_specified_ha_region = true on certain request but this is a
global state which stays 'true' forever. We need to reset it when we
receive a request where ha_region is not specified. I did not see any
real issues, the bug was found by code inspection.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/hv_balloon.c