bcachefs: Change "accounting overran journal reservation" to a warning
authorKent Overstreet <kent.overstreet@linux.dev>
Thu, 14 Mar 2024 17:26:26 +0000 (13:26 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Mon, 18 Mar 2024 00:53:11 +0000 (20:53 -0400)
commit62f35024b2b1a301cd263230d8c060cce2010efe
tree9ee34e8f50c9f7edacda9dda56057f59d9dfa3e2
parentbe28368b2ccb328b207c9f66c35bb088d91e6a03
bcachefs: Change "accounting overran journal reservation" to a warning

This doesn't need to be a BUG_ON(); the actual serious "things break"
condition is if the whole journal write overruns the available space,
and that has a fatal error, not a BUG_ON(). This check indicates we
screwed something up, but it should be a warning.

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