bcachefs: Fix bch_alloc_to_text()
authorKent Overstreet <kent.overstreet@linux.dev>
Mon, 19 Dec 2022 20:55:38 +0000 (15:55 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:49 +0000 (17:09 -0400)
commitf52dd1ae20ac8094eb881f816e7274d3f7910a84
tree6651bb888d221df6ff738598fafd493ee1e5c167
parent393a1f6863790fddf8b53bfb81f2c984cdbc1990
bcachefs: Fix bch_alloc_to_text()

We weren't guarding against the alloc key having an invalid data type.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/alloc_background.c