commit | bdc5f06789c5a0c3a9a2c0eb33ec4d177dbdaa22 | [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 | 1b1f9a9d00447d9eab32ae5633f60a106196b75f [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>