Commits
![Benoît Thébaudeau](https://secure.gravatar.com/avatar/8c6098a05440b78f5381cb2c544fca60.jpg?s=96&d=mm)
Benoît Thébaudeau committed 1254b44a9f3
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>