aboutsummaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/async_objs.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2025-05-17 19:54:39 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2025-05-21 20:15:05 -0400
commit51e23c9d60a42f8da4d2f4d48c86eb00c4e351ea (patch)
tree779adda1a815bbce14c634c8e1fdbf568bd30821 /fs/bcachefs/async_objs.c
parentbcachefs: fix bch2_debugfs_flush_buf() when tabstops are in use (diff)
downloadlinux-51e23c9d60a42f8da4d2f4d48c86eb00c4e351ea.tar.gz
linux-51e23c9d60a42f8da4d2f4d48c86eb00c4e351ea.zip
bcachefs: async objs now support bch_write_ops
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
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;