On Mon, Nov 30, 2020 at 12:11:32PM +0100, Martin Hundebøll wrote:

> The UBI_IOCVOLUP ioctl can fail if exclusive access to the volume isn't
> obtained. If this happens, the flush operation doesn't return error,
> leaving the caller without knowledge of missing flush.
> 
> Fix this by forwarding the error (-1) from ubi_update_start().
> 
> Fixes: 34255b92e6e ("tools: env: Add support for direct read/write UBI 
> volumes")
> Signed-off-by: Martin Hundebøll <mar...@geanix.com>

Applied to u-boot/master, thanks!

-- 
Tom

Attachment: signature.asc
Description: PGP signature

Reply via email to