From da9e480212582b336b97848c69fdd4ac8860065b Mon Sep 17 00:00:00 2001 From: Dan Carpenter Date: Wed, 15 Dec 2021 14:43:09 +0300 Subject: [PATCH] ext4: fix a copy and paste typo 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 Reviewed-by: Lukas Czerner Link: https://lore.kernel.org/r/20211215114309.GB14552@kili Signed-off-by: Theodore Ts'o --- 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 806ce08..9a936ec 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c @@ -2081,7 +2081,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.7.4