Enable e2fsck for Manta
Change-Id: I6f3638ec716d5fb54fe6f6d4a56fe0f5453af946
diff --git a/device.mk b/device.mk
index 3e3ebbd..e8424b7 100644
--- a/device.mk
+++ b/device.mk
@@ -156,6 +156,10 @@
PRODUCT_PACKAGES += \
camera.exynos5
+# Filesystem management tools
+PRODUCT_PACKAGES += \
+ e2fsck
+
PRODUCT_PROPERTY_OVERRIDES := \
wifi.interface=wlan0 \
ro.opengles.version=131072 \
diff --git a/fstab.manta b/fstab.manta
index 6249bc5..6a377fe 100644
--- a/fstab.manta
+++ b/fstab.manta
@@ -5,6 +5,6 @@
/dev/block/platform/dw_mmc.0/by-name/system /system ext4 ro wait
-/dev/block/platform/dw_mmc.0/by-name/cache /cache ext4 noatime,nosuid,nodev,nomblk_io_submit,errors=panic wait
-/dev/block/platform/dw_mmc.0/by-name/userdata /data ext4 noatime,nosuid,nodev,nomblk_io_submit,errors=panic wait,encryptable=/dev/block/platform/dw_mmc.0/by-name/metadata
+/dev/block/platform/dw_mmc.0/by-name/cache /cache ext4 noatime,nosuid,nodev,nomblk_io_submit,errors=panic wait,check
+/dev/block/platform/dw_mmc.0/by-name/userdata /data ext4 noatime,nosuid,nodev,nomblk_io_submit,errors=panic wait,check,encryptable=/dev/block/platform/dw_mmc.0/by-name/metadata
/dev/block/platform/dw_mmc.0/by-name/efs /factory ext4 noatime,nosuid,nodev,ro wait