]> www.infradead.org Git - users/dwmw2/linux.git/commit
bcachefs: Fix read path io_ref handling
authorKent Overstreet <kent.overstreet@linux.dev>
Fri, 28 Feb 2025 18:59:15 +0000 (13:59 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sat, 15 Mar 2025 01:02:16 +0000 (21:02 -0400)
commit3480aecd5f4d65fffd775929d1de7349fa6b95c1
tree9ae9a5f29178880ab63578b77244d365192615a4
parent7bc580816869e31c121eefe26e7eaccd4e3b778b
bcachefs: Fix read path io_ref handling

We were using our device pointer after we'd released our ref to it.

Unlikely to be a race that's practical to hit, since actually removing a
member device is a whole process besides just taking it offline, but -
needs to be fixed.

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