diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2022-10-22 15:59:53 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:09:45 -0400 |
commit | a10195764901e0a41e64d596de57a957e7f982f0 (patch) | |
tree | fec47a1ad4a508d47299715baabf7a7242ddf90b /fs/bcachefs/lru.h | |
parent | d4bce63636ab81ca4aed03d6641ad70c8416e921 (diff) |
bcachefs: More style fixes
Fixes for various checkpatch errors.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/lru.h')
-rw-r--r-- | fs/bcachefs/lru.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/bcachefs/lru.h b/fs/bcachefs/lru.h index 3decb7b1dde2..925c29b49b86 100644 --- a/fs/bcachefs/lru.h +++ b/fs/bcachefs/lru.h @@ -5,10 +5,10 @@ int bch2_lru_invalid(const struct bch_fs *, struct bkey_s_c, int, struct printbuf *); void bch2_lru_to_text(struct printbuf *, struct bch_fs *, struct bkey_s_c); -#define bch2_bkey_ops_lru (struct bkey_ops) { \ +#define bch2_bkey_ops_lru ((struct bkey_ops) { \ .key_invalid = bch2_lru_invalid, \ .val_to_text = bch2_lru_to_text, \ -} +}) int bch2_lru_delete(struct btree_trans *, u64, u64, u64, struct bkey_s_c); int bch2_lru_set(struct btree_trans *, u64, u64, u64 *); |