* [PATCH] ext4: fix a copy and paste typo
@ 2021-12-15 11:43 Dan Carpenter
2021-12-15 12:10 ` Lukas Czerner
2022-01-06 4:41 ` Theodore Ts'o
0 siblings, 2 replies; 3+ messages in thread
From: Dan Carpenter @ 2021-12-15 11:43 UTC (permalink / raw)
To: Theodore Ts'o, Lukas Czerner
Cc: Andreas Dilger, Carlos Maiolino, linux-ext4, kernel-janitors
This was obviously supposed to be an ext4 struct, not xfs. GCC
doesn't care either way so it doesn't affect the build or runtime.
Fixes: cebe85d570cf ("ext4: switch to the new mount api")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
---
fs/ext4/super.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index 5ec5a1c3b364..da40fb468d7f 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -2077,7 +2077,7 @@ static void ext4_fc_free(struct fs_context *fc)
int ext4_init_fs_context(struct fs_context *fc)
{
- struct xfs_fs_context *ctx;
+ struct ext4_fs_context *ctx;
ctx = kzalloc(sizeof(struct ext4_fs_context), GFP_KERNEL);
if (!ctx)
--
2.20.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] ext4: fix a copy and paste typo
2021-12-15 11:43 [PATCH] ext4: fix a copy and paste typo Dan Carpenter
@ 2021-12-15 12:10 ` Lukas Czerner
2022-01-06 4:41 ` Theodore Ts'o
1 sibling, 0 replies; 3+ messages in thread
From: Lukas Czerner @ 2021-12-15 12:10 UTC (permalink / raw)
To: Dan Carpenter
Cc: Theodore Ts'o, Andreas Dilger, Carlos Maiolino, linux-ext4,
kernel-janitors
On Wed, Dec 15, 2021 at 02:43:09PM +0300, Dan Carpenter wrote:
> This was obviously supposed to be an ext4 struct, not xfs. GCC
> doesn't care either way so it doesn't affect the build or runtime.
Wow, what a mistake. Nice catch, thanks!
Reviewed-by: Lukas Czerner <lczerner@redhat.com>
>
> Fixes: cebe85d570cf ("ext4: switch to the new mount api")
> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
> ---
> fs/ext4/super.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/ext4/super.c b/fs/ext4/super.c
> index 5ec5a1c3b364..da40fb468d7f 100644
> --- a/fs/ext4/super.c
> +++ b/fs/ext4/super.c
> @@ -2077,7 +2077,7 @@ static void ext4_fc_free(struct fs_context *fc)
>
> int ext4_init_fs_context(struct fs_context *fc)
> {
> - struct xfs_fs_context *ctx;
> + struct ext4_fs_context *ctx;
>
> ctx = kzalloc(sizeof(struct ext4_fs_context), GFP_KERNEL);
> if (!ctx)
> --
> 2.20.1
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] ext4: fix a copy and paste typo
2021-12-15 11:43 [PATCH] ext4: fix a copy and paste typo Dan Carpenter
2021-12-15 12:10 ` Lukas Czerner
@ 2022-01-06 4:41 ` Theodore Ts'o
1 sibling, 0 replies; 3+ messages in thread
From: Theodore Ts'o @ 2022-01-06 4:41 UTC (permalink / raw)
To: Lukas Czerner, Dan Carpenter
Cc: Theodore Ts'o, Carlos Maiolino, linux-ext4, Andreas Dilger,
kernel-janitors
On Wed, 15 Dec 2021 14:43:09 +0300, Dan Carpenter wrote:
> This was obviously supposed to be an ext4 struct, not xfs. GCC
> doesn't care either way so it doesn't affect the build or runtime.
>
>
Applied, thanks!
[1/1] ext4: fix a copy and paste typo
commit: 42e2b7ca9b4d4a9bb350910a2a66628699365572
Best regards,
--
Theodore Ts'o <tytso@mit.edu>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-01-06 4:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-15 11:43 [PATCH] ext4: fix a copy and paste typo Dan Carpenter
2021-12-15 12:10 ` Lukas Czerner
2022-01-06 4:41 ` Theodore Ts'o
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.