]> git.sesse.net Git - bcachefs-tools-debian/blobdiff - libbcachefs/data_update.h
Update bcachefs sources to bed61fae3b bcachefs: Delete a faulty assertion
[bcachefs-tools-debian] / libbcachefs / data_update.h
index 6793aa577cd207f55af29fb3dba8f9f954748002..49e9055cbb5262a642532ea75856b1df10e5101f 100644 (file)
@@ -26,12 +26,15 @@ struct data_update {
        struct bch_write_op     op;
 };
 
+int bch2_data_update_index_update(struct bch_write_op *);
+
 void bch2_data_update_read_done(struct data_update *,
-                               struct bch_extent_crc_unpacked,
-                               struct closure *);
+                               struct bch_extent_crc_unpacked);
 
 void bch2_data_update_exit(struct data_update *);
-int bch2_data_update_init(struct bch_fs *, struct data_update *,
+void bch2_update_unwritten_extent(struct btree_trans *, struct data_update *);
+int bch2_data_update_init(struct btree_trans *, struct moving_context *,
+                         struct data_update *,
                          struct write_point_specifier,
                          struct bch_io_opts, struct data_update_opts,
                          enum btree_id, struct bkey_s_c);