From 732b20936d9875c06fab847b7f7e255859e7859f Mon Sep 17 00:00:00 2001 From: Bowgo Tsai Date: Wed, 29 Mar 2017 16:07:12 +0800 Subject: 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 --- boot_control_copy/bootinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'boot_control_copy') 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; } -- cgit v1.2.3