bcachefs: Fix a use after free
authorKent Overstreet <kent.overstreet@gmail.com>
Fri, 27 Dec 2019 18:44:03 +0000 (13:44 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:33 +0000 (17:08 -0400)
commit46e4bb1c3782484bda814858c34f2cff942f1271
treeb16a7ef0579b4bdc93704405d657338b474cfbab
parente731d466d2ba0276badf79e4d960bd0938d0dc89
bcachefs: Fix a use after free

op->end_io may free the op struct

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