2023-10-25 07:29:47

by Kunwu Chan

[permalink] [raw]
Subject: [PATCH] ocfs2: Fix a spelling typo in comment

fix a spelling typo in comment.

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

diff --git a/fs/ocfs2/buffer_head_io.c b/fs/ocfs2/buffer_head_io.c
index 6cb919f60011..cdb9b9bdea1f 100644
--- a/fs/ocfs2/buffer_head_io.c
+++ b/fs/ocfs2/buffer_head_io.c
@@ -345,7 +345,7 @@ int ocfs2_read_blocks(struct ocfs2_caching_info *ci, u64 block, int nr,
if (new_bh && bh) {
/* If middle bh fails, let previous bh
* finish its read and then put it to
- * aovoid bh leak
+ * avoid bh leak
*/
if (!buffer_jbd(bh))
wait_on_buffer(bh);
--
2.34.1


2023-10-27 09:27:06

by Joseph Qi

[permalink] [raw]
Subject: Re: [PATCH] ocfs2: Fix a spelling typo in comment



On 10/25/23 3:29 PM, Kunwu Chan wrote:
> fix a spelling typo in comment.
>
> Signed-off-by: Kunwu Chan <[email protected]>

Acked-by: Joseph Qi <[email protected]>
> ---
> fs/ocfs2/buffer_head_io.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/ocfs2/buffer_head_io.c b/fs/ocfs2/buffer_head_io.c
> index 6cb919f60011..cdb9b9bdea1f 100644
> --- a/fs/ocfs2/buffer_head_io.c
> +++ b/fs/ocfs2/buffer_head_io.c
> @@ -345,7 +345,7 @@ int ocfs2_read_blocks(struct ocfs2_caching_info *ci, u64 block, int nr,
> if (new_bh && bh) {
> /* If middle bh fails, let previous bh
> * finish its read and then put it to
> - * aovoid bh leak
> + * avoid bh leak
> */
> if (!buffer_jbd(bh))
> wait_on_buffer(bh);