OSDN Git Service

Switch to fs_mgr_read_fstab("/fstab.device")
authorBowgo Tsai <bowgotsai@google.com>
Wed, 29 Mar 2017 08:07:12 +0000 (16:07 +0800)
committerBowgo Tsai <bowgotsai@google.com>
Fri, 31 Mar 2017 03:22:10 +0000 (11:22 +0800)
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

index 66ccba2..dbc0757 100644 (file)
@@ -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;
 }