2019-09-11 16:10:37

by Colin King

[permalink] [raw]
Subject: [PATCH] ocfs2: fix spelling mistake "ambigous" -> "ambiguous"

From: Colin Ian King <[email protected]>

There is a spelling mistake in a mlog_bug_on_msg message. Fix it.

Signed-off-by: Colin Ian King <[email protected]>
---
fs/ocfs2/inode.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/ocfs2/inode.c b/fs/ocfs2/inode.c
index 7ad9d6590818..7c9dfd50c1c1 100644
--- a/fs/ocfs2/inode.c
+++ b/fs/ocfs2/inode.c
@@ -534,7 +534,7 @@ static int ocfs2_read_locked_inode(struct inode *inode,
*/
mlog_bug_on_msg(!!(fe->i_flags & cpu_to_le32(OCFS2_SYSTEM_FL)) !=
!!(args->fi_flags & OCFS2_FI_FLAG_SYSFILE),
- "Inode %llu: system file state is ambigous\n",
+ "Inode %llu: system file state is ambiguous\n",
(unsigned long long)args->fi_blkno);

if (S_ISCHR(le16_to_cpu(fe->i_mode)) ||
--
2.20.1


2019-09-12 01:06:39

by Joseph Qi

[permalink] [raw]
Subject: Re: [PATCH] ocfs2: fix spelling mistake "ambigous" -> "ambiguous"



On 19/9/12 00:07, Colin King wrote:
> From: Colin Ian King <[email protected]>
>
> There is a spelling mistake in a mlog_bug_on_msg message. Fix it.
>
> Signed-off-by: Colin Ian King <[email protected]>

Acked-by: Joseph Qi <[email protected]>
> ---
> fs/ocfs2/inode.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/ocfs2/inode.c b/fs/ocfs2/inode.c
> index 7ad9d6590818..7c9dfd50c1c1 100644
> --- a/fs/ocfs2/inode.c
> +++ b/fs/ocfs2/inode.c
> @@ -534,7 +534,7 @@ static int ocfs2_read_locked_inode(struct inode *inode,
> */
> mlog_bug_on_msg(!!(fe->i_flags & cpu_to_le32(OCFS2_SYSTEM_FL)) !=
> !!(args->fi_flags & OCFS2_FI_FLAG_SYSFILE),
> - "Inode %llu: system file state is ambigous\n",
> + "Inode %llu: system file state is ambiguous\n",
> (unsigned long long)args->fi_blkno);
>
> if (S_ISCHR(le16_to_cpu(fe->i_mode)) ||
>