mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-06 01:59:54 -04:00
bcachefs: Fix an assertion
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
committed by
Kent Overstreet
parent
d96b3ffe38
commit
8bb4dff72d
@@ -490,7 +490,7 @@ int __bch2_btree_insert_at(struct btree_insert *trans)
|
||||
bch2_btree_iter_verify_locks(linked);
|
||||
BUG_ON((trans->flags & BTREE_INSERT_NOUNLOCK) &&
|
||||
trans->did_work &&
|
||||
linked->uptodate >= BTREE_ITER_NEED_RELOCK);
|
||||
!btree_node_locked(linked, 0));
|
||||
}
|
||||
|
||||
/* make sure we didn't lose an error: */
|
||||
|
||||
Reference in New Issue
Block a user