]> git.baikalelectronics.ru Git - uboot.git/commit
ubifs: Fix ubifs_assert_cmt_locked()
authorPali Rohár <pali@kernel.org>
Sun, 10 Jul 2022 11:38:06 +0000 (13:38 +0200)
committerHeiko Schocher <hs@denx.de>
Wed, 20 Jul 2022 03:49:57 +0000 (05:49 +0200)
commiteeb15e0a785e7209ccef5e029374f87946ea7995
tree5970bcccfe7c143344e99fc8dbda10bb5a6414d8
parent186cb4f9b174edc4585c13e41c7f556d5eabcea5
ubifs: Fix ubifs_assert_cmt_locked()

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@kernel.org>
fs/ubifs/debug.h