Re: [PATCH 1/2] ubifs: Fix ubifs_assert_cmt_locked()

2022-07-19 Thread Heiko Schocher
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

[PATCH 1/2] ubifs: Fix ubifs_assert_cmt_locked()

2022-07-10 Thread Pali Rohár
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