Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 22f63e39 authored by Todd Poynor's avatar Todd Poynor
Browse files

fs_mgr: fix crash on "noemulatedsd" in fstab

MF_FORCECRYPT claimed same flag value as existing MF_NOEMULATEDSD.
MF_FORCECRYPT also crashes if no "=" in the option.

Modify MF_NOEMULATEDSD flag value to unique, and reformat comment to keep
the definition near the other defines.

Change-Id: Iec86f40ff43eea14b791d3d19c0ae11fd4b5f784
parent a7300274
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -73,12 +73,8 @@
#define MF_ZRAMSIZE     0x100
#define MF_VERIFY       0x200
#define MF_FORCECRYPT   0x400
/*
 * There is no emulated sdcard daemon running on /data/media on this device,
 * so treat the physical SD card as the only external storage device,
 * a la the Nexus One.
 */
#define MF_NOEMULATEDSD 0x400
#define MF_NOEMULATEDSD 0x800 /* no emulated sdcard daemon, sd card is the only
                                 external storage */

#define DM_BUF_SIZE 4096