bcachefs: Don't unlock trans before data_update_init()
authorKent Overstreet <kent.overstreet@linux.dev>
Wed, 28 May 2025 20:06:07 +0000 (16:06 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 1 Jun 2025 02:03:17 +0000 (22:03 -0400)
commitf02d15327455822ed80e0b7d70b2ab3568a0389e
treea56c736c862591f838952c66b898249f147fd33d
parent642c1aabb001ee8410e6bfb6654b23bcead64e4e
bcachefs: Don't unlock trans before data_update_init()

data_update_init() does need to do btree operations, delay doing the
unlock-before-io.

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