diff options
Diffstat (limited to 'fs_mgr/include_fstab/fstab/fstab.h')
-rw-r--r-- | fs_mgr/include_fstab/fstab/fstab.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/fs_mgr/include_fstab/fstab/fstab.h b/fs_mgr/include_fstab/fstab/fstab.h index f33768b9d..7cf4f8997 100644 --- a/fs_mgr/include_fstab/fstab/fstab.h +++ b/fs_mgr/include_fstab/fstab/fstab.h @@ -47,7 +47,6 @@ struct FstabEntry { int max_comp_streams = 0; off64_t zram_size = 0; off64_t reserved_size = 0; - off64_t readahead_size_kb = -1; std::string encryption_options; off64_t erase_blk_size = 0; off64_t logical_blk_size = 0; @@ -55,7 +54,6 @@ struct FstabEntry { std::string vbmeta_partition; uint64_t zram_backingdev_size = 0; std::string avb_keys; - std::string lowerdir; struct FsMgrFlags { bool wait : 1; @@ -85,7 +83,6 @@ struct FstabEntry { bool slot_select_other : 1; bool fs_verity : 1; bool ext_meta_csum : 1; - bool fs_compress : 1; } fs_mgr_flags = {}; bool is_encryptable() const { @@ -99,9 +96,9 @@ struct FstabEntry { using Fstab = std::vector<FstabEntry>; bool ReadFstabFromFile(const std::string& path, Fstab* fstab); -bool ReadFstabFromDt(Fstab* fstab, bool verbose = true); +bool ReadFstabFromDt(Fstab* fstab, bool log = true); bool ReadDefaultFstab(Fstab* fstab); -bool SkipMountingPartitions(Fstab* fstab, bool verbose = false); +bool SkipMountingPartitions(Fstab* fstab); FstabEntry* GetEntryForMountPoint(Fstab* fstab, const std::string& path); // The Fstab can contain multiple entries for the same mount point with different configurations. @@ -115,8 +112,7 @@ std::vector<FstabEntry*> GetEntriesForMountPoint(Fstab* fstab, const std::string // dsu_partitions[0] = "system_gsi" // dsu_partitions[1] = "userdata_gsi" // dsu_partitions[2] = ... -void TransformFstabForDsu(Fstab* fstab, const std::string& dsu_slot, - const std::vector<std::string>& dsu_partitions); +void TransformFstabForDsu(Fstab* fstab, const std::vector<std::string>& dsu_partitions); std::set<std::string> GetBootDevices(); |