[PATCH] fs/ext4: fix typo in comment

Haodong Tian posted 1 patch 2 months, 4 weeks ago
fs/ext4/balloc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] fs/ext4: fix typo in comment
Posted by Haodong Tian 2 months, 4 weeks ago
Correct 'metdata' -> 'metadata' in comment.

Signed-off-by: Haodong Tian <tianhd25@mails.tsinghua.edu.cn>
---
 fs/ext4/balloc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/ext4/balloc.c b/fs/ext4/balloc.c
index c9329ed5c094..8040c731b3e4 100644
--- a/fs/ext4/balloc.c
+++ b/fs/ext4/balloc.c
@@ -752,7 +752,7 @@ ext4_fsblk_t ext4_new_meta_blocks(handle_t *handle, struct inode *inode,
 		*count = ar.len;
 	/*
 	 * Account for the allocated meta blocks.  We will never
-	 * fail EDQUOT for metdata, but we do account for it.
+	 * fail EDQUOT for metadata, but we do account for it.
 	 */
 	if (!(*errp) && (flags & EXT4_MB_DELALLOC_RESERVED)) {
 		dquot_alloc_block_nofail(inode,
-- 
2.47.3
Re: [PATCH] fs/ext4: fix typo in comment
Posted by Theodore Ts'o 2 months, 1 week ago
On Wed, 12 Nov 2025 23:59:16 +0800, Haodong Tian wrote:
> Correct 'metdata' -> 'metadata' in comment.
> 
> 

Applied, thanks!

[1/1] fs/ext4: fix typo in comment
      commit: 4ada1e4f8937f1ae6b620e7b1c76e02b9b3a15be

Best regards,
-- 
Theodore Ts'o <tytso@mit.edu>
Re: [PATCH] fs/ext4: fix typo in comment
Posted by Darrick J. Wong 2 months, 4 weeks ago
On Wed, Nov 12, 2025 at 11:59:16PM +0800, Haodong Tian wrote:
> Correct 'metdata' -> 'metadata' in comment.
> 
> Signed-off-by: Haodong Tian <tianhd25@mails.tsinghua.edu.cn>

Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>

--D

> ---
>  fs/ext4/balloc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/fs/ext4/balloc.c b/fs/ext4/balloc.c
> index c9329ed5c094..8040c731b3e4 100644
> --- a/fs/ext4/balloc.c
> +++ b/fs/ext4/balloc.c
> @@ -752,7 +752,7 @@ ext4_fsblk_t ext4_new_meta_blocks(handle_t *handle, struct inode *inode,
>  		*count = ar.len;
>  	/*
>  	 * Account for the allocated meta blocks.  We will never
> -	 * fail EDQUOT for metdata, but we do account for it.
> +	 * fail EDQUOT for metadata, but we do account for it.
>  	 */
>  	if (!(*errp) && (flags & EXT4_MB_DELALLOC_RESERVED)) {
>  		dquot_alloc_block_nofail(inode,
> -- 
> 2.47.3
> 
>