2019-04-27 12:21:41

by Chengang (L)

[permalink] [raw]
Subject: [PATCH] fs: ocfs: fix spelling mistake "heartbeart" -> "heartbeat"

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

Signed-off-by: ChenGang <[email protected]>
---
fs/ocfs2/cluster/heartbeat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/ocfs2/cluster/heartbeat.c b/fs/ocfs2/cluster/heartbeat.c
index f3c20b2..e4e7df1 100644
--- a/fs/ocfs2/cluster/heartbeat.c
+++ b/fs/ocfs2/cluster/heartbeat.c
@@ -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);
--
1.8.5.6


2019-04-28 01:33:17

by Joseph Qi

[permalink] [raw]
Subject: Re: [PATCH] fs: ocfs: fix spelling mistake "heartbeart" -> "heartbeat"

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

Thanks,
Joseph

On 19/4/27 20:22, ChenGang wrote:
> There is a spelling mistake in o2hb_do_disk_heartbeat debug message.Fix it.
>
> Signed-off-by: ChenGang <[email protected]>
> ---
> fs/ocfs2/cluster/heartbeat.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/ocfs2/cluster/heartbeat.c b/fs/ocfs2/cluster/heartbeat.c
> index f3c20b2..e4e7df1 100644
> --- a/fs/ocfs2/cluster/heartbeat.c
> +++ b/fs/ocfs2/cluster/heartbeat.c
> @@ -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);
>