summaryrefslogtreecommitdiff
path: root/fs/bcachefs/async_objs.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/bcachefs/async_objs.c')
-rw-r--r--fs/bcachefs/async_objs.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/bcachefs/async_objs.c b/fs/bcachefs/async_objs.c
index 57e2fe421461..a7cd1f0f0964 100644
--- a/fs/bcachefs/async_objs.c
+++ b/fs/bcachefs/async_objs.c
@@ -9,6 +9,7 @@
#include "btree_io.h"
#include "debug.h"
#include "io_read.h"
+#include "io_write.h"
#include <linux/debugfs.h>
@@ -22,6 +23,11 @@ static void rbio_obj_to_text(struct printbuf *out, void *obj)
bch2_read_bio_to_text(out, obj);
}
+static void write_op_obj_to_text(struct printbuf *out, void *obj)
+{
+ bch2_write_op_to_text(out, obj);
+}
+
static void btree_read_bio_obj_to_text(struct printbuf *out, void *obj)
{
struct btree_read_bio *rbio = obj;