diff options
Diffstat (limited to 'libbcachefs/snapshot.h')
-rw-r--r-- | libbcachefs/snapshot.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbcachefs/snapshot.h b/libbcachefs/snapshot.h index 94f35b2c..7c66ffc0 100644 --- a/libbcachefs/snapshot.h +++ b/libbcachefs/snapshot.h @@ -22,12 +22,12 @@ void bch2_snapshot_to_text(struct printbuf *, struct bch_fs *, struct bkey_s_c); int bch2_snapshot_invalid(struct bch_fs *, struct bkey_s_c, enum bkey_invalid_flags, struct printbuf *); int bch2_mark_snapshot(struct btree_trans *, enum btree_id, unsigned, - struct bkey_s_c, struct bkey_s_c, unsigned); + struct bkey_s_c, struct bkey_s, unsigned); #define bch2_bkey_ops_snapshot ((struct bkey_ops) { \ .key_invalid = bch2_snapshot_invalid, \ .val_to_text = bch2_snapshot_to_text, \ - .atomic_trigger = bch2_mark_snapshot, \ + .trigger = bch2_mark_snapshot, \ .min_val_size = 24, \ }) |