diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-09-13 20:39:31 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:10:13 -0400 |
commit | 439c172bc763fc1ef33246a0fb23920c1e01ffa7 (patch) | |
tree | 6720793e6b9e16ca2a24cfb315d5a0ea1b0b36aa /fs/bcachefs/bset.c | |
parent | 3764647b255aafb590d03066d5c1a344463e3637 (diff) | |
download | linux-439c172bc763fc1ef33246a0fb23920c1e01ffa7.tar.gz linux-439c172bc763fc1ef33246a0fb23920c1e01ffa7.tar.bz2 linux-439c172bc763fc1ef33246a0fb23920c1e01ffa7.zip |
bcachefs: Kill other unreachable() uses
Per previous commit, bare unreachable() considered harmful, convert to
BUG()
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/bset.c')
-rw-r--r-- | fs/bcachefs/bset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/bset.c b/fs/bcachefs/bset.c index cff7486ef446..bb73ba9017b0 100644 --- a/fs/bcachefs/bset.c +++ b/fs/bcachefs/bset.c @@ -1189,7 +1189,7 @@ struct bkey_packed *__bch2_bset_search(struct btree *b, case BSET_RO_AUX_TREE: return bset_search_tree(b, t, search, lossy_packed_search); default: - unreachable(); + BUG(); } } |