mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-18 11:17:07 +00:00
bcachefs: Add an assertion to track down a heisenbug
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
46e4bb1c37
commit
27b3e52388
@ -1657,6 +1657,8 @@ void __bch2_foreground_maybe_merge(struct bch_fs *c,
|
||||
size_t sib_u64s;
|
||||
int ret = 0;
|
||||
|
||||
BUG_ON(!btree_node_locked(iter, level));
|
||||
|
||||
closure_init_stack(&cl);
|
||||
retry:
|
||||
BUG_ON(!btree_node_locked(iter, level));
|
||||
|
Loading…
x
Reference in New Issue
Block a user