bcachefs: Fix bch2_btree_update_start()
authorKent Overstreet <kent.overstreet@linux.dev>
Sat, 17 Jun 2023 03:30:02 +0000 (23:30 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:10:04 +0000 (17:10 -0400)
commit45a1ab57ddb53a8b392baab2142c909154a8d37c
tree92a9ec5d23adc02a59c324e209ac0980e0b75347
parent91ecd41b7f02b95279dddcb2193af454efd39497
bcachefs: Fix bch2_btree_update_start()

The calculation for number of nodes to allocate in
bch2_btree_update_start() was incorrect - this fixes a BUG_ON() on the
small nodes test.

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