]> Git Repo - linux.git/commitdiff
bcachefs: fix backpointer for missing alloc key msg
authorKent Overstreet <[email protected]>
Thu, 28 Mar 2024 05:41:03 +0000 (01:41 -0400)
committerKent Overstreet <[email protected]>
Mon, 1 Apr 2024 00:36:11 +0000 (20:36 -0400)
Signed-off-by: Kent Overstreet <[email protected]>
fs/bcachefs/backpointers.c

index 7537d78aa9db6d833c305af8519bb30481fbef2f..762c8ddfc5e73d928a7041bb271357f89af55573 100644 (file)
@@ -382,7 +382,7 @@ static int bch2_check_btree_backpointer(struct btree_trans *trans, struct btree_
                        backpointer_to_missing_alloc,
                        "backpointer for nonexistent alloc key: %llu:%llu:0\n%s",
                        alloc_iter.pos.inode, alloc_iter.pos.offset,
-                       (bch2_bkey_val_to_text(&buf, c, alloc_k), buf.buf))) {
+                       (bch2_bkey_val_to_text(&buf, c, k), buf.buf))) {
                ret = bch2_btree_delete_at(trans, bp_iter, 0);
                goto out;
        }
This page took 0.083204 seconds and 4 git commands to generate.