mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-29 13:53:33 +00:00
bcachefs: Fix "btree node in stripe" error
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
2a912a9a39
commit
26bab33b69
1 changed files with 3 additions and 0 deletions
|
@ -915,6 +915,9 @@ static int ec_stripe_update_extent(struct btree_trans *trans,
|
|||
b = bch2_backpointer_get_node(trans, &node_iter, bucket, *bp_offset, bp);
|
||||
bch2_trans_iter_exit(trans, &node_iter);
|
||||
|
||||
if (!b)
|
||||
return 0;
|
||||
|
||||
prt_printf(&buf, "found btree node in erasure coded bucket: b=%px\n", b);
|
||||
bch2_backpointer_to_text(&buf, &bp);
|
||||
|
||||
|
|
Loading…
Reference in a new issue