From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Wed, 19 May 2010 10:56:36 +0200 Subject: [U-Boot] [PATCH] UBI: Fix problem in UBI/Linux "compatibility layer" In-Reply-To: <1274083265-3771-1-git-send-email-sr@denx.de> References: <1274083265-3771-1-git-send-email-sr@denx.de> Message-ID: <201005191056.36622.sr@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Monday 17 May 2010 10:01:05 Stefan Roese wrote: > "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. Applied to u-boot-ubi/master. Thanks. Cheers, Stefan -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de