Skip to content
Snippets Groups Projects
Commit bdc5f067 authored by Stefan Roese's avatar Stefan Roese
Browse files

UBI: Fix problem in UBI/Linux "compatibility layer"


"down_write_trylock" needs to return 1 instead of 0 for success.
Otherwise copying a block with a read error (e.g. bit-flip on read)
won't work correctly.

Signed-off-by: default avatarStefan Roese <sr@denx.de>
parent 1b1f9a9d
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment