[U-Boot] [PATCH 2/4] fs: fat: flush a directory cluster properly
Heinrich Schuchardt
xypron.glpk at gmx.de
Tue May 14 17:29:52 UTC 2019
On 5/13/19 7:49 AM, AKASHI Takahiro wrote:
> When a long name directory entry is created, multiple directory entries
> may be occupied across a directory cluster boundary. Since only one
> directory cluster is cached in a directory iterator, a first cluster must
> be written back to device before switching over a second cluster.
>
> Without this patch, some added files may be lost even if you don't see
> any failures on write operation.
>
> Signed-off-by: AKASHI Takahiro <takahiro.akashi at linaro.org>
Tested-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
More information about the U-Boot
mailing list