commit | 826b7bf6b8ba9445857146205a4e6ad1c450eb40 | [log] [tgz] |
---|---|---|
author | Stefan Roese <sr@denx.de> | Mon May 17 10:01:05 2010 +0200 |
committer | Stefan Roese <sr@denx.de> | Wed May 19 10:57:24 2010 +0200 |
tree | 13fd94baaf168b9858bba483a04a0791e468c82b | |
parent | 9e35514bc49894f2b35542337f65688b31cac8d1 [diff] |
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: Stefan Roese <sr@denx.de>