summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fs/bcachefs/fs-io.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/bcachefs/fs-io.c b/fs/bcachefs/fs-io.c
index 7133482eeab6..17a235ebb07c 100644
--- a/fs/bcachefs/fs-io.c
+++ b/fs/bcachefs/fs-io.c
@@ -1688,6 +1688,9 @@ again:
static void bch2_dio_read_complete(struct closure *cl)
{
struct dio_read *dio = container_of(cl, struct dio_read, cl);
+ /*
+ * fux, this is a refcount error
+ */
dio->req->ki_complete(dio->req, dio->ret, 0);
bio_check_pages_dirty(&dio->rbio.bio); /* transfers ownership */