[U-Boot] tools/fw_env: use fsync to ensure that data is physically stored

Tom Rini trini at konsulko.com
Tue Jul 25 00:42:03 UTC 2017


On Mon, May 20, 2013 at 09:34:42PM +0200, Michael Heimpold wrote:

> Closing a file descriptor does not guarantee that the data has been
> successfully saved to disk, as the kernel might defer the write.
> 
> Signed-off-by: Michael Heimpold <mhei at heimpold.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: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170724/a1aee0a4/attachment.sig>


More information about the U-Boot mailing list