bcachefs: Kill bch2_bucket_gens_read()
authorKent Overstreet <kent.overstreet@linux.dev>
Sun, 9 Jul 2023 02:27:03 +0000 (22:27 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:10:06 +0000 (17:10 -0400)
commit10a6ced2da8e4b53a14ab172b0ce70b83543bbfb
tree95533086990802eec459c2f8f99381e8902c2a19
parent9a644843c4701f86594fe0386f00af6b847f747d
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>
fs/bcachefs/alloc_background.c
fs/bcachefs/alloc_background.h
fs/bcachefs/recovery.c