[PATCH 1/2] ubifs: Fix ubifs_assert_cmt_locked()
Heiko Schocher
hs at denx.de
Wed Jul 20 05:55:16 CEST 2022
Hello Pali,
On 10.07.22 13:38, Pali Rohár wrote:
> U-Boot does not implement down_write_trylock() and its stub always returns
> true that lock was acquired. Therefore ubifs_assert_cmt_locked() assert
> currently always fails.
>
> Fix this issue by redefining ubifs_assert_cmt_locked() to just empty stub
> as there is nothing to assert.
>
> Signed-off-by: Pali Rohár <pali at kernel.org>
> ---
> fs/ubifs/debug.h | 8 +-------
> 1 file changed, 1 insertion(+), 7 deletions(-)
Applied to u-boot-ubi.git 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