summaryrefslogtreecommitdiff
path: root/fs/bcachefs
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2019-03-08 17:23:48 -0500
committerKent Overstreet <kent.overstreet@gmail.com>2020-11-07 16:57:16 -0500
commit49d90526e96da8481004fe9a5f76211c9b3fef4c (patch)
treed465da61d7d6070d61e5164c12d29983752f03bd /fs/bcachefs
parent4940af2f7bfc73b3f61f80934bd06cff96cd3ecf (diff)
Diffstat (limited to 'fs/bcachefs')
-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 ec0d17018f5a..ec8dc57cab56 100644
--- a/fs/bcachefs/fs-io.c
+++ b/fs/bcachefs/fs-io.c
@@ -1577,6 +1577,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 */