u-boot-brain/fs/fat
Benoît Thébaudeau 1254b44a9f fs/fat/fat_write: Fix management of empty files
Overwriting an empty file not created by U-Boot did not work, and it
could even corrupt the FAT. Moreover, creating empty files or emptying
existing files allocated a cluster, which is not standard.

Fix this by always keeping empty files clusterless as specified by
Microsoft (the start cluster must be set to 0 in the directory entry in
that case), and by supporting overwriting such files.

Signed-off-by: Benoît Thébaudeau <benoit@wsystem.com>
2015-10-11 17:12:08 -04:00
..
fat_write.c fs/fat/fat_write: Fix management of empty files 2015-10-11 17:12:08 -04:00
fat.c FIX: fat: Provide correct return code from disk_{read|write} to upper layers 2015-09-11 17:15:21 -04:00
file.c fat: Prepare API change for files greater than 2GB 2014-11-23 06:49:04 -05:00
Kconfig kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
Makefile fs: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00