bcachefs: Log message improvements
authorKent Overstreet <kent.overstreet@gmail.com>
Wed, 12 Jan 2022 03:08:44 +0000 (22:08 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:23 +0000 (17:09 -0400)
commitb74b147ddabe29a91a00d9f2cefeb6892e6a5a0a
treedc11ba601f4994a991f04d92ec0f54c515e2b5fa
parent54460a6292b08a8045d8681ac4331dfb9c385017
bcachefs: Log message improvements

Change the error messages in bch2_inconsistent_error() and
bch2_fatal_error() so we can distinguish them.

Also, prefer bch2_fs_fatal_error() (which also logs an error message) to
bch2_fatal_error(), and change a call to bch2_inconsistent_error() to
bch2_fatal_error() when we can't continue.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
fs/bcachefs/btree_update_leaf.c
fs/bcachefs/error.c
fs/bcachefs/journal_io.c