watchdog: Only disable/enable watchdog if neccessary
commite04ab2bc41b35c0cb6cdb07c8443f91aa738cf78
authorMandeep Singh Baines <msb@chromium.org>
Mon, 23 May 2011 05:10:21 +0000 (22 22:10 -0700)
committerIngo Molnar <mingo@elte.hu>
Mon, 23 May 2011 09:58:58 +0000 (23 11:58 +0200)
tree511efcd50f74c0a3cf28cf5c68eaa5e70b45fbc7
parent824c6b7f6294101f30e141117def224a56c203e6
watchdog: Only disable/enable watchdog if neccessary

Don't take any action on an unsuccessful write to /proc.

Signed-off-by: Mandeep Singh Baines <msb@chromium.org>
Cc: Marcin Slusarz <marcin.slusarz@gmail.com>
Cc: Don Zickus <dzickus@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Link: http://lkml.kernel.org/r/1306127423-3347-2-git-send-email-msb@chromium.org
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/watchdog.c