diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-06-05 01:15:33 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:10:03 -0400 |
commit | bc166d711d4eeff64c101fd4c57bfaaa3a4e7e9e (patch) | |
tree | be61aa6413834873bfbe30222eea306d148309fe /fs/bcachefs/backpointers.c | |
parent | 49c7cd9d8d5545cf45ef91f548d25b6dd23c72c7 (diff) | |
download | linux-stable-bc166d711d4eeff64c101fd4c57bfaaa3a4e7e9e.tar.gz linux-stable-bc166d711d4eeff64c101fd4c57bfaaa3a4e7e9e.tar.bz2 linux-stable-bc166d711d4eeff64c101fd4c57bfaaa3a4e7e9e.zip |
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>
Diffstat (limited to 'fs/bcachefs/backpointers.c')
-rw-r--r-- | fs/bcachefs/backpointers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/backpointers.c b/fs/bcachefs/backpointers.c index e9ae623cf4a8..11201064d9a4 100644 --- a/fs/bcachefs/backpointers.c +++ b/fs/bcachefs/backpointers.c @@ -805,7 +805,7 @@ static int check_one_backpointer(struct btree_trans *trans, if (fsck_err_on(!k.k, c, "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); out: fsck_err: |