fsck_vfat: Lower fat size compare limit from 8192k -> 4096k
Signed-off-by: San Mehat <san@google.com>
diff --git a/check.c b/check.c
index e4a8dfa..fab2d91 100644
--- a/check.c
+++ b/check.c
@@ -49,9 +49,11 @@
#include "fsutil.h"
/*
- * If the FAT > this size then skip comparing
+ * If the FAT > this size then skip comparing, lest we risk
+ * OOMing the framework. in the future we need to just re-write
+ * this whole thing and optimize for less memory
*/
-#define FAT_COMPARE_MAX_KB 8192
+#define FAT_COMPARE_MAX_KB 4096
int
checkfilesys(const char *fname)