diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2020-01-05 00:09:52 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-23 00:08:34 +0300 |
commit | e7808eef95213678a5c4d009aef636e9037588fb (patch) | |
tree | b87a3de82e1f2dc77f7585b1d7b9e2b87ccb4d1a /fs/bcachefs/bkey_methods.c | |
parent | 31ba2cd33037e1011947b7abbfd70921c735841d (diff) | |
download | linux-e7808eef95213678a5c4d009aef636e9037588fb.tar.xz |
bcachefs: Kill bch2_fs_bug()
These have all been converted to fsck/inconsistent errors
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/bkey_methods.c')
-rw-r--r-- | fs/bcachefs/bkey_methods.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/bkey_methods.c b/fs/bcachefs/bkey_methods.c index ed448fad83c5..320e17d108d2 100644 --- a/fs/bcachefs/bkey_methods.c +++ b/fs/bcachefs/bkey_methods.c @@ -156,7 +156,7 @@ void bch2_bkey_debugcheck(struct bch_fs *c, struct btree *b, struct bkey_s_c k) char buf[160]; bch2_bkey_val_to_text(&PBUF(buf), c, k); - bch2_fs_bug(c, "invalid bkey %s: %s", buf, invalid); + bch2_fs_inconsistent(c, "invalid bkey %s: %s", buf, invalid); return; } |