Skip to contentSkip to conversation

fs: ocfs: fix spelling mistake "heartbeart" -> "heartbeat"

PATCH In review ChenGang 2 participants 2 messages Apr 27, 2019 – Apr 28, 2019

Subsystems (2)
lore
Share & tools
lore

ChenGang

author
#0 lore raw

PATCH 1/1 fs: ocfs: fix spelling mistake "heartbeart" -> "heartbeat"

There is a spelling mistake in o2hb_do_disk_heartbeat debug message.Fix it.

---
 fs/ocfs2/cluster/heartbeat.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/ocfs2/cluster/heartbeat.c +1 -1
index f3c20b2..e4e7df1 100644
@@ -1198,7 +1198,7 @@ static int o2hb_do_disk_heartbeat(struct o2hb_region *reg)
 	if (atomic_read(&reg->hr_steady_iterations) != 0) {
 		if (atomic_dec_and_test(&reg->hr_unsteady_iterations)) {
 			printk(KERN_NOTICE "o2hb: Unable to stabilize "
-			       "heartbeart on region %s (%s)\n",
+			       "heartbeat on region %s (%s)\n",
 			       config_item_name(&reg->hr_item),
 			       reg->hr_dev_name);
 			atomic_set(&reg->hr_steady_iterations, 0);
Signature · 1 line
1.8.5.6
#1 lore raw

Hi ChenGang,
Could you please fold these four patches into one?

Thanks,
Joseph

Quoted 21 lines · ChenGang

There is a spelling mistake in o2hb_do_disk_heartbeat debug message.Fix it.

---
 fs/ocfs2/cluster/heartbeat.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/ocfs2/cluster/heartbeat.c +1 -1
index f3c20b2..e4e7df1 100644
@@ -1198,7 +1198,7 @@ static int o2hb_do_disk_heartbeat(struct o2hb_region *reg)
 	if (atomic_read(&reg->hr_steady_iterations) != 0) {
 		if (atomic_dec_and_test(&reg->hr_unsteady_iterations)) {
 			printk(KERN_NOTICE "o2hb: Unable to stabilize "
-			       "heartbeart on region %s (%s)\n",
+			       "heartbeat on region %s (%s)\n",
 			       config_item_name(&reg->hr_item),
 			       reg->hr_dev_name);
 			atomic_set(&reg->hr_steady_iterations, 0);