diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2020-11-26 19:06:55 +0100 |
---|---|---|
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2020-12-10 09:14:59 +0100 |
commit | 569b0e1938a5c78b6f4152704ef8c8a4e04fcb09 (patch) | |
tree | 97e1e30fb85d07a08165ccd76c2786c40af8690e /drivers/ddr/imx/imx8m/ddr_init.c | |
parent | 7557c8485517aa9d2602abb0010c10ab64feee72 (diff) | |
download | u-boot-569b0e1938a5c78b6f4152704ef8c8a4e04fcb09.tar.gz u-boot-569b0e1938a5c78b6f4152704ef8c8a4e04fcb09.tar.xz u-boot-569b0e1938a5c78b6f4152704ef8c8a4e04fcb09.zip |
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>
Diffstat (limited to 'drivers/ddr/imx/imx8m/ddr_init.c')
0 files changed, 0 insertions, 0 deletions