bcachefs: Use BTREE_INSERT_USE_RESERVE in btree_update_key()
authorKent Overstreet <kent.overstreet@gmail.com>
Sat, 8 Jan 2022 08:39:54 +0000 (03:39 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:22 +0000 (17:09 -0400)
commitb674bfadd86aa7f815156f15cc01af95440380f9
tree8ccb4bc43176fbe82cd614e7b17902489986e28c
parent7d782ae447ddbbadf02bb320691ee9cb92f61790
bcachefs: Use BTREE_INSERT_USE_RESERVE in btree_update_key()

bch2_btree_update_key() is used in the btree node write path - before
delivering the completion we have to update the parent pointer with the
number of sectors written.

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