[U-Boot] [PATCH] ubifs: Change value of mutex_is_locked()

Heiko Schocher hs at denx.de
Wed Apr 11 12:46:16 UTC 2018


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 <bradleybolen at gmail.com>
> ---
>   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


More information about the U-Boot mailing list