diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-07-09 05:27:03 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-23 00:10:06 +0300 |
commit | 10a6ced2da8e4b53a14ab172b0ce70b83543bbfb (patch) | |
tree | 95533086990802eec459c2f8f99381e8902c2a19 /fs/bcachefs/alloc_background.h | |
parent | 9a644843c4701f86594fe0386f00af6b847f747d (diff) | |
download | linux-10a6ced2da8e4b53a14ab172b0ce70b83543bbfb.tar.xz |
bcachefs: Kill bch2_bucket_gens_read()
This folds bch2_bucket_gens_read() into bch2_alloc_read(), doing the
version check there.
This is prep work for enumarating all recovery passes: we need some
cleanup first to make calling all the recovery passes consistent.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/alloc_background.h')
-rw-r--r-- | fs/bcachefs/alloc_background.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/bcachefs/alloc_background.h b/fs/bcachefs/alloc_background.h index d1bf45a4b404..c0914feb54b5 100644 --- a/fs/bcachefs/alloc_background.h +++ b/fs/bcachefs/alloc_background.h @@ -212,7 +212,6 @@ static inline bool bkey_is_alloc(const struct bkey *k) } int bch2_alloc_read(struct bch_fs *); -int bch2_bucket_gens_read(struct bch_fs *); int bch2_trans_mark_alloc(struct btree_trans *, enum btree_id, unsigned, struct bkey_s_c, struct bkey_i *, unsigned); |