]> git.sesse.net Git - bcachefs-tools-debian/blobdiff - libbcachefs/bkey_methods.c
Update bcachefs sources to 95ff72a6c1 fixup! mm: Centralize & improve oom reporting...
[bcachefs-tools-debian] / libbcachefs / bkey_methods.c
index fd352a672d624a73dd7e1a6e4f2f1c889d49db0f..e0cbac8811afa6d69b5d7e99e6a411f769fee25c 100644 (file)
@@ -211,8 +211,8 @@ int __bch2_bkey_invalid(struct bch_fs *c, struct bkey_s_c k,
        }
 
        if (!(bch2_key_types_allowed[type] & (1U << k.k->type))) {
-               prt_printf(err, "invalid key type for this btree (%s)",
-                      bch2_bkey_types[type]);
+               prt_printf(err, "invalid key type for btree %s (%s)",
+                          bch2_btree_ids[type], bch2_bkey_types[type]);
                return -EINVAL;
        }