fs/ext4/balloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
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
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>
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
>
>
© 2016 - 2026 Red Hat, Inc.