From c6a1114e562f9ee0276da2febe95fad7a0b4ad58 Mon Sep 17 00:00:00 2001 From: hauke Date: Sun, 21 Feb 2010 20:14:24 +0000 Subject: ext4: add Support for large (2TB+) block devices and files CONFIG_LBDAF is needed for mounting ext4 filesystems with huge_file enabled. This is the default option. This closes #6714. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19799 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/kernel/modules/fs.mk | 7 +++---- target/linux/generic-2.6/config-2.6.25 | 2 +- target/linux/generic-2.6/config-2.6.30 | 2 +- target/linux/generic-2.6/config-2.6.31 | 3 +-- target/linux/generic-2.6/config-2.6.32 | 3 +-- 5 files changed, 7 insertions(+), 10 deletions(-) diff --git a/package/kernel/modules/fs.mk b/package/kernel/modules/fs.mk index 08d814d6ab..c86ef34e3b 100644 --- a/package/kernel/modules/fs.mk +++ b/package/kernel/modules/fs.mk @@ -61,7 +61,7 @@ $(eval $(call KernelPackage,fs-ntfs)) define KernelPackage/fs-mbcache SUBMENU:=$(FS_MENU) - TITLE:=mbcache (used by ext2/ext3) + TITLE:=mbcache (used by ext2/ext3/ext4) KCONFIG:=CONFIG_FS_MBCACHE ifneq ($(CONFIG_FS_MBCACHE),) FILES:=$(LINUX_DIR)/fs/mbcache.$(LINUX_KMOD_SUFFIX) @@ -115,17 +115,16 @@ define KernelPackage/fs-ext4 SUBMENU:=$(FS_MENU) TITLE:=EXT4 filesystem support KCONFIG:= \ - CONFIG_EXT4DEV_COMPAT=y \ CONFIG_EXT4_FS_XATTR=y \ CONFIG_EXT4_FS_POSIX_ACL=y \ CONFIG_EXT4_FS_SECURITY=y \ CONFIG_EXT4_FS \ CONFIG_JBD2 - DEPENDS:= @LINUX_2_6 +kmod-crc16 $(if $(DUMP)$(CONFIG_FS_MBCACHE),+kmod-fs-mbcache) + DEPENDS:= @LINUX_2_6 +kmod-crc16 +kmod-crc32 $(if $(DUMP)$(CONFIG_FS_MBCACHE),+kmod-fs-mbcache) FILES:= \ $(LINUX_DIR)/fs/ext4/ext4.$(LINUX_KMOD_SUFFIX) \ $(LINUX_DIR)/fs/jbd2/jbd2.$(LINUX_KMOD_SUFFIX) - AUTOLOAD:=$(call AutoLoad,30,jbd2 $(EXT4_NAME)) + AUTOLOAD:=$(call AutoLoad,30,jbd2 ext4) endef define KernelPackage/fs-ext4/description diff --git a/target/linux/generic-2.6/config-2.6.25 b/target/linux/generic-2.6/config-2.6.25 index 3ac9274a2b..3ee9904321 100644 --- a/target/linux/generic-2.6/config-2.6.25 +++ b/target/linux/generic-2.6/config-2.6.25 @@ -758,7 +758,7 @@ CONFIG_JOLIET=y CONFIG_KMOD=y # CONFIG_LAPB is not set # CONFIG_LASAT is not set -# CONFIG_LBD is not set +CONFIG_LBD=y # CONFIG_LDM_PARTITION is not set CONFIG_LEDS_CLASS=y CONFIG_LEDS_TRIGGER_DEFAULT_ON=y diff --git a/target/linux/generic-2.6/config-2.6.30 b/target/linux/generic-2.6/config-2.6.30 index 3de18d7695..2973ff532b 100644 --- a/target/linux/generic-2.6/config-2.6.30 +++ b/target/linux/generic-2.6/config-2.6.30 @@ -1047,7 +1047,7 @@ CONFIG_KMOD=y # CONFIG_LAPB is not set # CONFIG_LASAT is not set # CONFIG_LATENCYTOP is not set -# CONFIG_LBD is not set +CONFIG_LBD=y # CONFIG_LCD_LTV350QV is not set # CONFIG_LCD_TDO24M is not set # CONFIG_LCD_VGG2432A4 is not set diff --git a/target/linux/generic-2.6/config-2.6.31 b/target/linux/generic-2.6/config-2.6.31 index 5d571fe664..6c8c4d36b7 100644 --- a/target/linux/generic-2.6/config-2.6.31 +++ b/target/linux/generic-2.6/config-2.6.31 @@ -1049,8 +1049,7 @@ CONFIG_KMOD=y # CONFIG_LAPB is not set # CONFIG_LASAT is not set # CONFIG_LATENCYTOP is not set -# CONFIG_LBDAF is not set -# CONFIG_LBD is not set +CONFIG_LBDAF=y # CONFIG_LCD_LTV350QV is not set # CONFIG_LCD_TDO24M is not set # CONFIG_LCD_VGG2432A4 is not set diff --git a/target/linux/generic-2.6/config-2.6.32 b/target/linux/generic-2.6/config-2.6.32 index ed632a8ed1..8f6efbee61 100644 --- a/target/linux/generic-2.6/config-2.6.32 +++ b/target/linux/generic-2.6/config-2.6.32 @@ -1108,8 +1108,7 @@ CONFIG_KMOD=y # CONFIG_LAPB is not set # CONFIG_LASAT is not set # CONFIG_LATENCYTOP is not set -# CONFIG_LBDAF is not set -# CONFIG_LBD is not set +CONFIG_LBDAF=y # CONFIG_LDM_PARTITION is not set # CONFIG_LEDS_ALIX is not set # CONFIG_LEDS_BD2802 is not set -- cgit v1.2.3