summaryrefslogtreecommitdiff
path: root/boot_control_copy
diff options
context:
space:
mode:
authorBowgo Tsai <bowgotsai@google.com>2017-03-29 16:07:12 +0800
committerBowgo Tsai <bowgotsai@google.com>2017-03-29 16:08:13 +0800
commit732b20936d9875c06fab847b7f7e255859e7859f (patch)
tree60910c9d62dea03f2bb490618392f9898f61992b /boot_control_copy
parent5e9cc93aca85ca8e66c6c43a822d8c0df6997478 (diff)
downloadextras-732b20936d9875c06fab847b7f7e255859e7859f.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
Diffstat (limited to 'boot_control_copy')
-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;
}