[U-Boot] [PATCH] fw_env: Add missing write failure check

Tom Rini trini at konsulko.com
Fri Jun 21 01:54:25 UTC 2019


On Wed, Jun 12, 2019 at 03:27:55PM +0100, Alex Kiernan wrote:

> If flash_write fails, whilst we propagate this up to our caller, we need
> to avoid swapping in the new file (if we're on a filesystem) in this
> case.
> 
> Fixes: dbc34323796b ("tools: env: Implement atomic replace for filesystem")
> Signed-off-by: Alex Kiernan <alex.kiernan at gmail.com>

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/20190620/c23e3e48/attachment.sig>


More information about the U-Boot mailing list