[PATCH] loongarch/configs: Add support for gfs and jfs filesystem type

From: wangxuewen
Date: Fri Aug 25 2023 - 01:34:53 EST


From: wangxuewen <wangxuewen@xxxxxxxxxx>

When the device sdx is formatted as gfs or jfs, execute the command
"mount /dev/sdx /mnt",we get:
"mount: /mnt: unknoen filesystem type 'gfs'"
"mount: /mnt: unknoen filesystem type 'jfs'"

Signed-off-by: wangxuewen <wangxuewen@xxxxxxxxxx>
---
arch/loongarch/configs/loongson3_defconfig | 2 ++
1 file changed, 2 insertions(+)

diff --git a/arch/loongarch/configs/loongson3_defconfig b/arch/loongarch/configs/loongson3_defconfig
index d64849b4cba1..d8db1f64f00b 100644
--- a/arch/loongarch/configs/loongson3_defconfig
+++ b/arch/loongarch/configs/loongson3_defconfig
@@ -759,9 +759,11 @@ CONFIG_EXT2_FS_SECURITY=y
CONFIG_EXT3_FS=y
CONFIG_EXT3_FS_POSIX_ACL=y
CONFIG_EXT3_FS_SECURITY=y
+CONFIG_JFS_FS=M
CONFIG_XFS_FS=y
CONFIG_XFS_QUOTA=y
CONFIG_XFS_POSIX_ACL=y
+CONFIG_GFS2_FS=M
CONFIG_BTRFS_FS=y
CONFIG_FANOTIFY=y
CONFIG_FANOTIFY_ACCESS_PERMISSIONS=y
--
2.34.1