diff options
Diffstat (limited to 'fs/bcachefs/ec.c')
-rw-r--r-- | fs/bcachefs/ec.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/bcachefs/ec.c b/fs/bcachefs/ec.c index f131a70f282f..e9470c06b1fa 100644 --- a/fs/bcachefs/ec.c +++ b/fs/bcachefs/ec.c @@ -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); |