diff options
author | Benoît Thébaudeau <benoit@wsystem.com> | 2015-09-28 15:45:32 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-10-11 17:12:08 -0400 |
commit | 1254b44a9f31c78ce7325eb392eaa949a2c7fc9a (patch) | |
tree | c02399fd3ce118719e0f209234747b82509102d3 /arch/arm/mach-at91/Kconfig | |
parent | e876be4b5ccb661d68b5b83330e134ace339316c (diff) | |
download | u-boot-imx-1254b44a9f31c78ce7325eb392eaa949a2c7fc9a.zip u-boot-imx-1254b44a9f31c78ce7325eb392eaa949a2c7fc9a.tar.gz u-boot-imx-1254b44a9f31c78ce7325eb392eaa949a2c7fc9a.tar.bz2 |
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>
Diffstat (limited to 'arch/arm/mach-at91/Kconfig')
0 files changed, 0 insertions, 0 deletions