]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bcachefs: Kill bch2_bucket_alloc_new_fs()
authorKent Overstreet <kent.overstreet@linux.dev>
Mon, 25 Nov 2024 04:28:21 +0000 (23:28 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sat, 21 Dec 2024 06:36:19 +0000 (01:36 -0500)
commit828552ca74a45877dbf139b34c47d0f600a1e852
treee81cc4be9f6d5de7a6fbef1d2078992bcdb48468
parentabf23afa36eb425fb75d47c26fc665dbab2a9ae1
bcachefs: Kill bch2_bucket_alloc_new_fs()

The early-early allocation path, bch2_bucket_alloc_new_fs(), is no
longer needed - and inconsistencies around new_fs_bucket_idx have been a
frequent source of bugs.

Reported-by: syzbot+592425844580a6598410@syzkaller.appspotmail.com
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/alloc_foreground.c
fs/bcachefs/alloc_foreground.h
fs/bcachefs/bcachefs.h
fs/bcachefs/buckets.c
fs/bcachefs/buckets.h
fs/bcachefs/journal.c
fs/bcachefs/journal_reclaim.c
fs/bcachefs/recovery.c
fs/bcachefs/super.c