From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heinrich Schuchardt Date: Tue, 14 May 2019 19:29:52 +0200 Subject: [U-Boot] [PATCH 2/4] fs: fat: flush a directory cluster properly In-Reply-To: <20190513054927.17890-3-takahiro.akashi@linaro.org> References: <20190513054927.17890-1-takahiro.akashi@linaro.org> <20190513054927.17890-3-takahiro.akashi@linaro.org> Message-ID: <6df78ab2-3d14-69ca-18e9-58f6961dcf47@gmx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 Tested-by: Heinrich Schuchardt