]> git.dujemihanovic.xyz Git - u-boot.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)
commitb4f210563e63e5d4b73e3232fd7156424533063e
tree5970bcccfe7c143344e99fc8dbda10bb5a6414d8
parentfc97ff2695d6d7fbea7d5fda7b080f405d6ee744
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