From 775b1abb12a5d891ac66b51d28381692bde6ab03 Mon Sep 17 00:00:00 2001 From: JP Abgrall Date: Thu, 23 Oct 2014 16:27:03 -0700 Subject: [PATCH] core: Fixup bad ext4 mount options for recovery (pick common denominator) Some ext4 options were not suitable for all kernel versions. The current option were checked against kernels 3.0 3.4 3.10. Bug: 18092222 Change-Id: I30883706e5c8ac7a318f4b448d4becde50de808f --- core/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/Makefile b/core/Makefile index f411e066b..2177a182d 100644 --- a/core/Makefile +++ b/core/Makefile @@ -678,7 +678,8 @@ endif # =[|]... # fstype_opts := [,]... # opt := [=] -DEFAULT_TARGET_RECOVERY_FSTYPE_MOUNT_OPTIONS := ext4=match_batch_time=0,commit=1,data=journal,barrier=1,errors=panic,nodelalloc +# The following worked on Nexus devices with Kernel 3.1, 3.4, 3.10 +DEFAULT_TARGET_RECOVERY_FSTYPE_MOUNT_OPTIONS := ext4=max_batch_time=0,commit=1,data=ordered,barrier=1,errors=panic,nodelalloc ifneq (true,$(TARGET_USERIMAGES_SPARSE_EXT_DISABLED)) INTERNAL_USERIMAGES_SPARSE_EXT_FLAG := -s