From 4708f734e519d52b1fb050e9969fcaf37e033af1 Mon Sep 17 00:00:00 2001 From: Bowgo Tsai Date: Wed, 29 Mar 2017 16:07:12 +0800 Subject: [PATCH] Switch to fs_mgr_read_fstab("/fstab.device") fstab.device is for backward compatibility in legacy devices. As it doesn't have fstab entries in device tree (for early mount) so we can just use the ordinary fs_mgr_read_fstab(). For new devices having early mount, it should use fs_mgr_read_fstab_default() instead. Bug: 35811655 Test: boot sailfish Change-Id: I70b64787e600d6e338e57f2a31bad188a39d433d (cherry picked from commit 732b20936d9875c06fab847b7f7e255859e7859f) --- boot_control_copy/bootinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot_control_copy/bootinfo.c b/boot_control_copy/bootinfo.c index 66ccba25..dbc0757c 100644 --- a/boot_control_copy/bootinfo.c +++ b/boot_control_copy/bootinfo.c @@ -43,7 +43,7 @@ static struct fstab *open_fstab(void) if (fstab != NULL) return fstab; - fstab = fs_mgr_read_fstab_with_dt("/fstab.device"); + fstab = fs_mgr_read_fstab("/fstab.device"); return fstab; } -- 2.11.0