<div>Acked-by: Sunil Mushran <<a href="mailto:sunil.mushran@gmail.com">sunil.mushran@gmail.com</a>></div><div><br></div><div class="gmail_quote">On Wed, Aug 22, 2012 at 2:38 AM, Jeff Liu <span dir="ltr"><<a href="mailto:jeff.liu@oracle.com" target="_blank">jeff.liu@oracle.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Not sure if this patch does make sense or not, but it could make the signature of those routines<br>
in a consistent manner with others for heartbeating.<br>
<br>
CC: Sunil Mushran <<a href="mailto:sunil.mushran@gmail.com">sunil.mushran@gmail.com</a>><br>
Signed-off-by: Jie Liu <<a href="mailto:jeff.liu@oracle.com">jeff.liu@oracle.com</a>><br>
<br>
---<br>
fs/ocfs2/cluster/heartbeat.c | 8 ++++----<br>
1 files changed, 4 insertions(+), 4 deletions(-)<br>
<br>
diff --git a/fs/ocfs2/cluster/heartbeat.c b/fs/ocfs2/cluster/heartbeat.c<br>
index 1b6ce53..d193679 100644<br>
--- a/fs/ocfs2/cluster/heartbeat.c<br>
+++ b/fs/ocfs2/cluster/heartbeat.c<br>
@@ -176,7 +176,7 @@ static void o2hb_dead_threshold_set(unsigned int threshold)<br>
}<br>
}<br>
<br>
-static int o2hb_global_hearbeat_mode_set(unsigned int hb_mode)<br>
+static int o2hb_global_heartbeat_mode_set(unsigned int hb_mode)<br>
{<br>
int ret = -1;<br>
<br>
@@ -2290,7 +2290,7 @@ ssize_t o2hb_heartbeat_group_mode_store(struct o2hb_heartbeat_group *group,<br>
if (strnicmp(page, o2hb_heartbeat_mode_desc[i], len))<br>
continue;<br>
<br>
- ret = o2hb_global_hearbeat_mode_set(i);<br>
+ ret = o2hb_global_heartbeat_mode_set(i);<br>
if (!ret)<br>
printk(KERN_NOTICE "o2hb: Heartbeat mode set to %s\n",<br>
o2hb_heartbeat_mode_desc[i]);<br>
@@ -2323,7 +2323,7 @@ static struct configfs_attribute *o2hb_heartbeat_group_attrs[] = {<br>
NULL,<br>
};<br>
<br>
-static struct configfs_item_operations o2hb_hearbeat_group_item_ops = {<br>
+static struct configfs_item_operations o2hb_heartbeat_group_item_ops = {<br>
.show_attribute = o2hb_heartbeat_group_show,<br>
.store_attribute = o2hb_heartbeat_group_store,<br>
};<br>
@@ -2335,7 +2335,7 @@ static struct configfs_group_operations o2hb_heartbeat_group_group_ops = {<br>
<br>
static struct config_item_type o2hb_heartbeat_group_type = {<br>
.ct_group_ops = &o2hb_heartbeat_group_group_ops,<br>
- .ct_item_ops = &o2hb_hearbeat_group_item_ops,<br>
+ .ct_item_ops = &o2hb_heartbeat_group_item_ops,<br>
.ct_attrs = o2hb_heartbeat_group_attrs,<br>
.ct_owner = THIS_MODULE,<br>
};<br>
<span class="HOEnZb"><font color="#888888">--<br>
1.7.4.1<br>
</font></span></blockquote></div><br>