summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBowgo Tsai <bowgotsai@google.com>2017-03-29 16:07:12 +0800
committerBowgo Tsai <bowgotsai@google.com>2017-03-31 11:22:10 +0800
commit4708f734e519d52b1fb050e9969fcaf37e033af1 (patch)
treed619c51d2bfde1d787f56d374878313c94d7af54
parentf318ca5110149a99d8eace1ce8fc4598ae49d606 (diff)
downloadextras-4708f734e519d52b1fb050e9969fcaf37e033af1.tar.gz
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)
-rw-r--r--boot_control_copy/bootinfo.c2
1 files changed, 1 insertions, 1 deletions
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;
}