bcachefs: Fix btree_path_alloc()
authorKent Overstreet <kent.overstreet@linux.dev>
Wed, 8 Feb 2023 23:04:22 +0000 (18:04 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:50 +0000 (17:09 -0400)
commit992fa4e62020d257197efa4ec567499d52e9c381
tree6fbb9fedf889bcf24498ce2ca5a71a405f691b00
parentd7afe651ffa29fca79725a3cf5580a3fd2421fed
bcachefs: Fix btree_path_alloc()

We need to call bch2_trans_update_max_paths() before marking the new
path as allocated, since we're not initializing it yet.

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