mirror of
https://github.com/torvalds/linux.git
synced 2024-11-30 08:01:59 +00:00
bcachefs: Improve backpointers error message
the error message here dated from when backpointers could be stored in alloc keys; now, we should always print the full key. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
49c7cd9d8d
commit
bc166d711d
@ -805,7 +805,7 @@ static int check_one_backpointer(struct btree_trans *trans,
|
|||||||
|
|
||||||
if (fsck_err_on(!k.k, c,
|
if (fsck_err_on(!k.k, c,
|
||||||
"backpointer for missing extent\n %s",
|
"backpointer for missing extent\n %s",
|
||||||
(bch2_backpointer_k_to_text(&buf, c, bp.s_c), buf.buf)))
|
(bch2_bkey_val_to_text(&buf, c, bp.s_c), buf.buf)))
|
||||||
return bch2_btree_delete_at_buffered(trans, BTREE_ID_backpointers, bp.k->p);
|
return bch2_btree_delete_at_buffered(trans, BTREE_ID_backpointers, bp.k->p);
|
||||||
out:
|
out:
|
||||||
fsck_err:
|
fsck_err:
|
||||||
|
Loading…
Reference in New Issue
Block a user