commit | e09f3e42ec5491c84f0f86228962543a15b92a5a | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Thu Nov 26 19:06:55 2020 +0100 |
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | Thu Dec 10 09:14:59 2020 +0100 |
tree | 97e1e30fb85d07a08165ccd76c2786c40af8690e | |
parent | 51d5b2a5ff17e7d3358876cea10aa9f261f7858d [diff] |
fs: fat: flush new directory cluster When handling long file names directory entries may be split over multiple clusters. We must make sure that new clusters are zero filled on disk. When allocating a new cluster for a directory flush it. The flushing should be executed before updating the FAT. This way if flushing fails, we still have a valid directory structure. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>