Update bcachefs sources to c801fa69f0 bcachefs: Fix bch_alloc_to_text()

This commit is contained in:
Kent Overstreet 2022-12-19 16:06:33 -05:00
parent 1eae1d718c
commit b6fca67693
2 changed files with 5 additions and 2 deletions

View File

@ -1 +1 @@
7958ebe32438f58a0e59f240aa288b14efcc0964 c801fa69f0e35d0e203af95fc59240f96a04d107

View File

@ -392,7 +392,10 @@ void bch2_alloc_to_text(struct printbuf *out, struct bch_fs *c, struct bkey_s_c
printbuf_indent_add(out, 2); printbuf_indent_add(out, 2);
prt_printf(out, "gen %u oldest_gen %u data_type %s", prt_printf(out, "gen %u oldest_gen %u data_type %s",
a->gen, a->oldest_gen, bch2_data_types[a->data_type]); a->gen, a->oldest_gen,
a->data_type < BCH_DATA_NR
? bch2_data_types[a->data_type]
: "(invalid data type)");
prt_newline(out); prt_newline(out);
prt_printf(out, "journal_seq %llu", a->journal_seq); prt_printf(out, "journal_seq %llu", a->journal_seq);
prt_newline(out); prt_newline(out);