diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2022-10-22 21:59:53 +0200 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 23:09:45 +0200 |
commit | a10195764901e0a41e64d596de57a957e7f982f0 (patch) | |
tree | fec47a1ad4a508d47299715baabf7a7242ddf90b /fs/bcachefs/reflink.h | |
parent | bcachefs: Kill BCH_WRITE_JOURNAL_SEQ_PTR (diff) | |
download | linux-a10195764901e0a41e64d596de57a957e7f982f0.tar.xz linux-a10195764901e0a41e64d596de57a957e7f982f0.zip |
bcachefs: More style fixes
Fixes for various checkpatch errors.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/reflink.h')
-rw-r--r-- | fs/bcachefs/reflink.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/fs/bcachefs/reflink.h b/fs/bcachefs/reflink.h index f9848dc3eebb..ce0012aa99c6 100644 --- a/fs/bcachefs/reflink.h +++ b/fs/bcachefs/reflink.h @@ -8,13 +8,13 @@ void bch2_reflink_p_to_text(struct printbuf *, struct bch_fs *, struct bkey_s_c); bool bch2_reflink_p_merge(struct bch_fs *, struct bkey_s, struct bkey_s_c); -#define bch2_bkey_ops_reflink_p (struct bkey_ops) { \ +#define bch2_bkey_ops_reflink_p ((struct bkey_ops) { \ .key_invalid = bch2_reflink_p_invalid, \ .val_to_text = bch2_reflink_p_to_text, \ .key_merge = bch2_reflink_p_merge, \ .trans_trigger = bch2_trans_mark_reflink_p, \ .atomic_trigger = bch2_mark_reflink_p, \ -} +}) int bch2_reflink_v_invalid(const struct bch_fs *, struct bkey_s_c, int, struct printbuf *); @@ -23,13 +23,13 @@ void bch2_reflink_v_to_text(struct printbuf *, struct bch_fs *, int bch2_trans_mark_reflink_v(struct btree_trans *, enum btree_id, unsigned, struct bkey_s_c, struct bkey_i *, unsigned); -#define bch2_bkey_ops_reflink_v (struct bkey_ops) { \ +#define bch2_bkey_ops_reflink_v ((struct bkey_ops) { \ .key_invalid = bch2_reflink_v_invalid, \ .val_to_text = bch2_reflink_v_to_text, \ .swab = bch2_ptr_swab, \ .trans_trigger = bch2_trans_mark_reflink_v, \ .atomic_trigger = bch2_mark_extent, \ -} +}) int bch2_indirect_inline_data_invalid(const struct bch_fs *, struct bkey_s_c, int, struct printbuf *); @@ -40,11 +40,11 @@ int bch2_trans_mark_indirect_inline_data(struct btree_trans *, struct bkey_s_c, struct bkey_i *, unsigned); -#define bch2_bkey_ops_indirect_inline_data (struct bkey_ops) { \ +#define bch2_bkey_ops_indirect_inline_data ((struct bkey_ops) { \ .key_invalid = bch2_indirect_inline_data_invalid, \ .val_to_text = bch2_indirect_inline_data_to_text, \ .trans_trigger = bch2_trans_mark_indirect_inline_data, \ -} +}) static inline const __le64 *bkey_refcount_c(struct bkey_s_c k) { |