]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
UBI: Fix problem in UBI/Linux "compatibility layer"
authorStefan Roese <sr@denx.de>
Mon, 17 May 2010 08:01:05 +0000 (10:01 +0200)
committerStefan Roese <sr@denx.de>
Wed, 19 May 2010 08:57:24 +0000 (10:57 +0200)
commitbdc5f06789c5a0c3a9a2c0eb33ec4d177dbdaa22
tree13fd94baaf168b9858bba483a04a0791e468c82b
parent1b1f9a9d00447d9eab32ae5633f60a106196b75f
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>
include/ubi_uboot.h