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
This commit is contained in:
parent
a7300274fd
commit
22f63e393f
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue