watchdog: xen: don't clear is_active when xen_wdt_stop() failed
authorJan Beulich <JBeulich@suse.com>
Mon, 19 Mar 2012 09:32:28 +0000 (09:32 +0000)
committerWim Van Sebroeck <wim@iguana.be>
Tue, 27 Mar 2012 18:13:55 +0000 (20:13 +0200)
commit38c484fa136f66224694af298f80e96bf4072700
treeca44de3b6d55a49969e7013538f9bdfafbb930eb
parent83448bf7867917d5fd104e65275d8e153f3293a8
watchdog: xen: don't clear is_active when xen_wdt_stop() failed

xen_wdt_release() shouldn't clear is_active even when the watchdog
didn't get stopped (which by itself shouldn't happen, but let's return
a proper error in this case rather than adding a BUG() upon hypercall
failure).

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/xen_wdt.c