bcachefs: bch2_ec_read_extent() now takes btree_trans
authorKent Overstreet <kent.overstreet@linux.dev>
Sat, 4 Nov 2023 04:25:52 +0000 (00:25 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 5 Nov 2023 18:13:57 +0000 (13:13 -0500)
commitaa982665887590a9443f12323fdf508a22d8c86f
treed19913ee9c6cf72a8ea15e485cd29aaab38de096
parentda4aa3b00123b8a588d23482993751e88bbaa324
bcachefs: bch2_ec_read_extent() now takes btree_trans

We're not supposed to have more than one btree_trans at a time in a
given thread - that causes recursive locking deadlocks.

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