android_system_core/fs_mgr/include
Tom Cherry cf80b6d6e5 Refactor fs_mgr_update_verity_state()
fs_mgr_update_verity_state() has two callers with generally different
intentions.  One caller loops through all entries in the default fstab
to set partition.<mount_point>.verified properties.  The other caller
is only interested in whether or a specific mount point has verity
enabled.

Given this, we refactor fs_mgr_update_verity_state() to
fs_mgr_get_verity_mount_point() which takes a single FstabEntry and
returns the mount point used for the dm-verity device or an empty
option if verity is not enabled on that mount point.

Test: adb-remount-test.sh test on blueline
Change-Id: Ic7dd8390509e95b2931b21e544c919a544138864
2019-02-11 12:50:22 -08:00
..
fs_mgr Move parts of roots.cpp from librecovery 2018-12-19 10:23:50 -08:00
fs_mgr.h Refactor fs_mgr_update_verity_state() 2019-02-11 12:50:22 -08:00
fs_mgr_dm_linear.h fs_mgr: Add a helper for creating one-off dynamic partitions. 2019-01-07 18:31:54 -08:00
fs_mgr_overlayfs.h Add android::fs_mgr namespace for new Fstab code 2019-01-30 20:20:05 -08:00
fs_mgr_vendor_overlay.h Mount vendor overlay from the system partition 2018-11-01 10:26:12 +09:00