From 4ab42b1831da7085bdadb51e3709cb2e5837ef69 Mon Sep 17 00:00:00 2001 From: Matt Mower Date: Thu, 21 Apr 2016 13:52:18 -0500 Subject: Rewrite FS fstab flag processing * If 'ro' fsflag detected, set Mount_Read_Only = true * Only output human readable Mount_Options to log * Match fsflags identically (not just first n chars) since there are no fs_flags which take arguments * Match new processing method introduced in TW fstab flag processing Change-Id: Iefdb76016be90a131b0d627d0cd3f18d2eb1a008 --- partitions.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'partitions.hpp') diff --git a/partitions.hpp b/partitions.hpp index 91c803698..aafc4d4b8 100644 --- a/partitions.hpp +++ b/partitions.hpp @@ -100,7 +100,7 @@ private: void Apply_TW_Flag(const unsigned flag, const char* str, const bool val); // Apply custom twrp fstab flags void Process_TW_Flags(char *flags, bool Display_Error); // Process custom twrp fstab flags - bool Process_FS_Flags(string& Options, int& Flags); // Process standard fstab fs flags + void Process_FS_Flags(const char *str); // Process standard fstab fs flags bool Is_File_System(string File_System); // Checks to see if the file system given is considered a file system bool Is_Image(string File_System); // Checks to see if the file system given is considered an image void Setup_File_System(bool Display_Error); // Sets defaults for a file system partition -- cgit v1.2.3