[Devel] [PATCH RH7 4/9] Port: diff-fence-watchdog-rename-action-to-halt

Pavel Tikhomirov ptikhomirov at virtuozzo.com
Tue Oct 13 07:52:54 PDT 2015


Author: Dmitry Guryanov
Email: dguryanov at parallels.com
Subject: watchdog: rename action to halt
Date: Wed, 20 Feb 2013 18:22:01 +0400

We actually do halt, not poweroff, so rename action, because
otherwise it may confuse users.

Fix for https://jira.sw.ru/browse/PSBM-18395

Signed-off-by: Dmitry Guryanov <dguryanov at parallels.com>
Signed-off-by: Pavel Tikhomirov <ptikhomirov at virtuozzo.com>
---
 kernel/fence-watchdog.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/fence-watchdog.c b/kernel/fence-watchdog.c
index 7938fcb..e65e73d 100644
--- a/kernel/fence-watchdog.c
+++ b/kernel/fence-watchdog.c
@@ -27,7 +27,7 @@ enum {
 	FENCE_WDOG_POWEROFF = 2,
 };
 
-const char *action_names[] = {"crash", "reboot", "poweroff", NULL};
+const char *action_names[] = {"crash", "reboot", "halt", NULL};
 
 
 DEFINE_VVAR(volatile unsigned long, fence_wdog_jiffies64) = MAX_U64;
-- 
1.9.3




More information about the Devel mailing list