2023-10-11 16:32:52

by Yuanheng Zhang

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

Fix spelling typo in comment.

Signed-off-by: Yuanheng Zhang <[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 196638a22b48..6cb919f60011 100644
--- a/fs/ocfs2/buffer_head_io.c
+++ b/fs/ocfs2/buffer_head_io.c
@@ -158,7 +158,7 @@ int ocfs2_read_blocks_sync(struct ocfs2_super *osb, u64 block,
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-12 01:11:44

by Joseph Qi

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



On 10/12/23 12:32 AM, Yuanheng Zhang wrote:
> Fix spelling typo in comment.
>
> Signed-off-by: Yuanheng Zhang <[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 196638a22b48..6cb919f60011 100644
> --- a/fs/ocfs2/buffer_head_io.c
> +++ b/fs/ocfs2/buffer_head_io.c
> @@ -158,7 +158,7 @@ int ocfs2_read_blocks_sync(struct ocfs2_super *osb, u64 block,
> 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);