Commit 1ac561a
UPSTREAM: 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.
Change-Id: I8daa938645cd75d0eb4269ff0994163a02c3ff13
Signed-off-by: Pali Rohár <[email protected]>
Signed-off-by: Jon Lin <[email protected]>
(cherry picked from commit b4f2105)1 parent 410b6a2 commit 1ac561a
1 file changed
+1
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
| 177 | + | |
184 | 178 | | |
185 | 179 | | |
186 | 180 | | |
| |||
0 commit comments