bcachefs: Be careful about btree node splits during journal replay
authorKent Overstreet <kent.overstreet@linux.dev>
Tue, 26 Mar 2024 21:14:43 +0000 (17:14 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Mon, 1 Apr 2024 00:36:11 +0000 (20:36 -0400)
commit40cb26233a060aeb936de7ea1f6ac2659ed9951c
tree1e7b1e302a02cf5a785b7e1b26d217bde38e2215
parent048f47e83fc315499dc1943176b3ebe1a55574fb
bcachefs: Be careful about btree node splits during journal replay

Don't pick a pivot that's going to be deleted.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/btree_journal_iter.c
fs/bcachefs/btree_journal_iter.h
fs/bcachefs/btree_update_interior.c