[source] config: ext4: drop option to set maximum number of inodes
LEDE Commits
lede-commits at lists.infradead.org
Thu Oct 27 10:24:43 PDT 2016
jow pushed a commit to source.git, branch master:
https://git.lede-project.org/d1ae4c4958e6394a0f00be334bc045bce9f0614d
commit d1ae4c4958e6394a0f00be334bc045bce9f0614d
Author: Jo-Philipp Wich <jo at mein.io>
AuthorDate: Sun Oct 16 01:59:43 2016 +0200
config: ext4: drop option to set maximum number of inodes
There is very little practical use to limit the number of available inodes on
an ext4 filesystem and the make_ext4fs utility is able to calculate useful
defaults by itself.
Drop the option to make resulting ext4 filesystems more flexible by default.
Signed-off-by: Jo-Philipp Wich <jo at mein.io>
Acked-by: Michael Heimpold <mhei at heimpold.de>
---
config/Config-images.in | 7 -------
include/image.mk | 1 -
2 files changed, 8 deletions(-)
diff --git a/config/Config-images.in b/config/Config-images.in
index 05b817b..1a6951d 100644
--- a/config/Config-images.in
+++ b/config/Config-images.in
@@ -73,13 +73,6 @@ menu "Target Images"
help
Build an ext4 root filesystem.
- config TARGET_EXT4_MAXINODE
- int "Maximum number of inodes in root filesystem"
- depends on TARGET_ROOTFS_EXT4FS
- default 6000
- help
- Select the maximum number of inodes in the root filesystem.
-
config TARGET_EXT4_RESERVED_PCT
int "Percentage of reserved blocks in root filesystem"
depends on TARGET_ROOTFS_EXT4FS
diff --git a/include/image.mk b/include/image.mk
index 59dd66f..8b183ab 100644
--- a/include/image.mk
+++ b/include/image.mk
@@ -244,7 +244,6 @@ E2SIZE=$(shell echo $$(($(CONFIG_TARGET_ROOTFS_PARTSIZE)*1024*1024)))
define Image/mkfs/ext4
$(STAGING_DIR_HOST)/bin/make_ext4fs \
-l $(E2SIZE) -b $(CONFIG_TARGET_EXT4_BLOCKSIZE) \
- -i $(CONFIG_TARGET_EXT4_MAXINODE) \
$(if $(CONFIG_TARGET_EXT4_RESERVED_PCT),-m $(CONFIG_TARGET_EXT4_RESERVED_PCT)) \
$(if $(CONFIG_TARGET_EXT4_JOURNAL),,-J) \
$(if $(SOURCE_DATE_EPOCH),-T $(SOURCE_DATE_EPOCH)) \
More information about the lede-commits
mailing list