|
@@ -2242,13 +2242,13 @@ unlock:
|
|
|
spin_unlock(&o2hb_live_lock);
|
|
|
}
|
|
|
|
|
|
-static ssize_t o2hb_heartbeat_group_threshold_show(struct config_item *item,
|
|
|
+static ssize_t o2hb_heartbeat_group_dead_threshold_show(struct config_item *item,
|
|
|
char *page)
|
|
|
{
|
|
|
return sprintf(page, "%u\n", o2hb_dead_threshold);
|
|
|
}
|
|
|
|
|
|
-static ssize_t o2hb_heartbeat_group_threshold_store(struct config_item *item,
|
|
|
+static ssize_t o2hb_heartbeat_group_dead_threshold_store(struct config_item *item,
|
|
|
const char *page, size_t count)
|
|
|
{
|
|
|
unsigned long tmp;
|
|
@@ -2297,11 +2297,11 @@ static ssize_t o2hb_heartbeat_group_mode_store(struct config_item *item,
|
|
|
|
|
|
}
|
|
|
|
|
|
-CONFIGFS_ATTR(o2hb_heartbeat_group_, threshold);
|
|
|
+CONFIGFS_ATTR(o2hb_heartbeat_group_, dead_threshold);
|
|
|
CONFIGFS_ATTR(o2hb_heartbeat_group_, mode);
|
|
|
|
|
|
static struct configfs_attribute *o2hb_heartbeat_group_attrs[] = {
|
|
|
- &o2hb_heartbeat_group_attr_threshold,
|
|
|
+ &o2hb_heartbeat_group_attr_dead_threshold,
|
|
|
&o2hb_heartbeat_group_attr_mode,
|
|
|
NULL,
|
|
|
};
|