diff options
author | San Mehat <san@google.com> | 2009-07-16 10:28:42 -0700 |
---|---|---|
committer | San Mehat <san@google.com> | 2009-07-16 10:28:42 -0700 |
commit | 6702a4436d04b4fbe1be2f11ce5c1cd9ce64574c (patch) | |
tree | 3e4b69a716c855a9af66b94b7143decdd82ae2cf | |
parent | 11877c86e96c485b9632ea758b225bcacf6e7670 (diff) | |
download | fsck_msdos-6702a4436d04b4fbe1be2f11ce5c1cd9ce64574c.tar.gz |
fsck_vfat: Lower fat size compare limit from 8192k -> 4096k
Signed-off-by: San Mehat <san@google.com>
-rw-r--r-- | check.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -49,9 +49,11 @@ static const char rcsid[] = #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) |