[U-Boot] [PATCH v2 2/5] fs: fat: flush a directory cluster properly

Tom Rini trini at konsulko.com
Wed May 29 17:18:19 UTC 2019


On Fri, May 24, 2019 at 02:10:36PM +0900, 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>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190529/3b8a1b98/attachment.sig>


More information about the U-Boot mailing list