hikey: Allow userdata f2fs mount
$ make BOARD_USERDATAIMAGE_FILE_SYSTEM_TYPE=f2fs
TARGET_USERIMAGES_USE_F2FS=true userdataimage -j24
Bug: 72117781
Test: Manual
Change-Id: Id4955a4f87ce987d2d1cd5ed86365ac6e2a5d6ed
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
diff --git a/hikey/fstab.hikey b/hikey/fstab.hikey
index 547fe30..def00f6 100644
--- a/hikey/fstab.hikey
+++ b/hikey/fstab.hikey
@@ -6,6 +6,7 @@
/dev/block/platform/soc/f723d000.dwmmc0/by-name/system /system ext4 ro wait
/dev/block/platform/soc/f723d000.dwmmc0/by-name/system /system squashfs ro wait
/dev/block/platform/soc/f723d000.dwmmc0/by-name/cache /cache ext4 discard,noauto_da_alloc,data=ordered,user_xattr,barrier=1 wait
+/dev/block/platform/soc/f723d000.dwmmc0/by-name/userdata /data f2fs discard,noatime,nosuid,nodev wait,check,fileencryption=software,quota
/dev/block/platform/soc/f723d000.dwmmc0/by-name/userdata /data ext4 discard,noauto_da_alloc,data=ordered,user_xattr,barrier=1 wait
/devices/platform/soc/f723e000.dwmmc1/mmc_host/mmc* auto auto defaults voldmanaged=sdcard1:auto,encryptable=userdata
/devices/platform/soc/f72c0000.usb/usb* auto auto defaults voldmanaged=usbdisk:auto,encryptable=userdata
diff --git a/hikey/fstab.hikey-3.18 b/hikey/fstab.hikey-3.18
index 3a71aba..b652d75 100644
--- a/hikey/fstab.hikey-3.18
+++ b/hikey/fstab.hikey-3.18
@@ -6,6 +6,7 @@
/dev/block/platform/f723d000.dwmmc0/by-name/system /system ext4 ro wait
/dev/block/platform/f723d000.dwmmc0/by-name/system /system squashfs ro wait
/dev/block/platform/f723d000.dwmmc0/by-name/cache /cache ext4 discard,noauto_da_alloc,data=ordered,user_xattr,barrier=1 wait
+/dev/block/platform/f723d000.dwmmc0/by-name/userdata /data f2fs discard,noatime,nosuid,nodev wait,check,fileencryption=software,quota
/dev/block/platform/f723d000.dwmmc0/by-name/userdata /data ext4 discard,noauto_da_alloc,data=ordered,user_xattr,barrier=1 wait
/devices/platform/f723e000.dwmmc1/mmc_host/mmc* auto auto defaults voldmanaged=sdcard1:auto,encryptable=userdata
/devices/platform/f72c0000.usb/usb* auto auto defaults voldmanaged=usbdisk:auto,encryptable=userdata