X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=libbcachefs%2Fsnapshot.h;h=7c66ffc06385ddea63685298f691660d906055d5;hb=e5b2870d05753c1dedd79261ba5e321ce953f5ab;hp=94f35b2cfbb3427ca83ab6d5b423ab9b640bed99;hpb=f76d246fff1c3c5b091fb2b910067d893620dc5e;p=bcachefs-tools-debian diff --git a/libbcachefs/snapshot.h b/libbcachefs/snapshot.h index 94f35b2..7c66ffc 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, \ })