summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2019-03-08 17:23:48 -0500
committerKent Overstreet <kent.overstreet@gmail.com>2019-04-30 17:17:04 -0400
commit9f2ef2c68142400a66d68129344e99e04f827c24 (patch)
treebe9cd13c7fa23ad061ac1933c94d41ca4870ec8c /fs
parent8ce7ef230998716b37323d75703893eb9ef67c33 (diff)
Diffstat (limited to 'fs')
-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 */