bcachefs: Simplify parameters to bch2_btree_update_start()
authorKent Overstreet <kent.overstreet@gmail.com>
Sat, 5 Mar 2022 00:15:46 +0000 (19:15 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:26 +0000 (17:09 -0400)
commitee68105f619b90ef7daef9f9ebab1270209d6151
treec3d41aebe7e1c0b83711b113d17f1780c48cfb6c
parent05a49d22750ec4977b52c9da09039a931c0f2644
bcachefs: Simplify parameters to bch2_btree_update_start()

We don't need to pass the number of nodes required to
bch2_btree_update_start, just whether we're doing a split at @level.
This is prep work for a fix to our usage of six lock's percpu mode,
which is going to require us to count up and allocate interior nodes and
leaf nodes seperately.

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