bcachefs: Fix another iterator leak
authorKent Overstreet <kent.overstreet@gmail.com>
Mon, 16 Mar 2020 19:48:58 +0000 (15:48 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:36 +0000 (17:08 -0400)
commit716254b8a1af9b687547f60b9dc8f925237654d3
tree3491dd7482f3255f86d229c2d6ecd2b1bf57ef5c
parent19f24758ef17f4a73c84a507e6433777c0726c3e
bcachefs: Fix another iterator leak

This updates bch2_rbio_narrow_crcs() to the current style for
transactional btree code, and fixes a rare panic on iterator overflow.

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