mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 07:03:03 +02: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
|
|
@ -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 New Issue
Block a user