summaryrefslogtreecommitdiff
path: root/libbcachefs/data_update.h
diff options
context:
space:
mode:
Diffstat (limited to 'libbcachefs/data_update.h')
-rw-r--r--libbcachefs/data_update.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libbcachefs/data_update.h b/libbcachefs/data_update.h
index e6450545..6793aa57 100644
--- a/libbcachefs/data_update.h
+++ b/libbcachefs/data_update.h
@@ -10,6 +10,7 @@ struct moving_context;
struct data_update_opts {
unsigned rewrite_ptrs;
+ unsigned kill_ptrs;
u16 target;
u8 extra_replicas;
unsigned btree_insert_flags;
@@ -34,5 +35,6 @@ int bch2_data_update_init(struct bch_fs *, struct data_update *,
struct write_point_specifier,
struct bch_io_opts, struct data_update_opts,
enum btree_id, struct bkey_s_c);
+void bch2_data_update_opts_normalize(struct bkey_s_c, struct data_update_opts *);
#endif /* _BCACHEFS_DATA_UPDATE_H */