]> www.infradead.org Git - users/dwmw2/linux.git/commit
bcachefs: Fix ca->io_ref usage
authorKent Overstreet <kent.overstreet@linux.dev>
Wed, 4 Sep 2024 19:48:59 +0000 (15:48 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Mon, 9 Sep 2024 13:41:46 +0000 (09:41 -0400)
commit5a6e43af1e5341a11a719270cef9d846b0bbfaa5
tree6c4cc57ffb9305f613d6f9c68c61035269bb087f
parent53f6619554fb1edf8d7599b560d44dbea085c730
bcachefs: Fix ca->io_ref usage

ca->io_ref does not protect against the filesystem going way,
c->write_ref does. Much like

0b50b7313ef2 bcachefs: Fix refcounting in discard path

the other async paths need fixing.

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