Merge "ext4_utils: disable sparse io for e2fsdroid  if image is not sparse"
diff --git a/ext4_utils/mkuserimg_mke2fs.sh b/ext4_utils/mkuserimg_mke2fs.sh
index 018b24b..f8aef21 100755
--- a/ext4_utils/mkuserimg_mke2fs.sh
+++ b/ext4_utils/mkuserimg_mke2fs.sh
@@ -16,8 +16,10 @@
 E2FSDROID_OPTS=""
 
 if [ "$1" = "-s" ]; then
-    MKE2FS_OPTS+="-E android_sparse"
+  MKE2FS_OPTS+="-E android_sparse"
   shift
+else
+  E2FSDROID_OPTS+="-e"
 fi
 
 if [ $# -lt 5 ]; then