From: Heiko Schocher Date: Wed, 11 Apr 2018 14:46:16 +0200 Subject: [U-Boot] [PATCH] ubifs: Change value of mutex_is_locked() In-Reply-To: <1522860136-23548-1-git-send-email-bradleybolen@gmail.com> References: <1522860136-23548-1-git-send-email-bradleybolen@gmail.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello Bradley, Am 04.04.2018 um 18:42 schrieb Bradley Bolen: > The mutex lock and unlock functions are stubbed out and mutex_is_locked > was 0. This caused asserts to fail in ubifs code when checking that the > mutex was locked. For example, > > UBIFS assert failed in ubifs_change_lp at 540 > UBIFS assert failed in ubifs_release_lprops at 278 > > Assume that the "mutex" is locked since that is the normal case when it > is checked in the ubifs code. > > Signed-off-by: Bradley Bolen > --- > fs/ubifs/ubifs.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied to u-boot-ubi master Thanks! bye, Heiko -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-52 Fax: +49-8142-66989-80 Email: hs at denx.de