summaryrefslogtreecommitdiff
path: root/fs/bcachefs/io_write.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/bcachefs/io_write.h')
-rw-r--r--fs/bcachefs/io_write.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/bcachefs/io_write.h b/fs/bcachefs/io_write.h
index 9323167229ee..6c276a48f95d 100644
--- a/fs/bcachefs/io_write.h
+++ b/fs/bcachefs/io_write.h
@@ -90,8 +90,7 @@ static inline void bch2_write_op_init(struct bch_write_op *op, struct bch_fs *c,
op->devs_need_flush = NULL;
}
-void bch2_write(struct closure *);
-
+CLOSURE_CALLBACK(bch2_write);
void bch2_write_point_do_index_updates(struct work_struct *);
static inline struct bch_write_bio *wbio_init(struct bio *bio)