From: Tom Rini Date: Thu, 20 Jun 2019 21:54:25 -0400 Subject: [U-Boot] [PATCH] fw_env: Add missing write failure check In-Reply-To: <20190612142755.11639-1-alex.kiernan@gmail.com> References: <20190612142755.11639-1-alex.kiernan@gmail.com> Message-ID: <20190621015425.GN9388@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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: