[PATCH] ocfs2: Fix a spelling typo in comment

Kunwu Chan posted 1 patch 2 years, 2 months ago
fs/ocfs2/buffer_head_io.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] ocfs2: Fix a spelling typo in comment
Posted by Kunwu Chan 2 years, 2 months ago
fix a spelling typo in comment.

Signed-off-by: Kunwu Chan <chentao@kylinos.cn>
---
 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
Re: [PATCH] ocfs2: Fix a spelling typo in comment
Posted by Joseph Qi 2 years, 2 months ago

On 10/25/23 3:29 PM, Kunwu Chan wrote:
> fix a spelling typo in comment.
> 
> Signed-off-by: Kunwu Chan <chentao@kylinos.cn>

Acked-by: Joseph Qi <joseph.qi@linux.alibaba.com>
> ---
>  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);