From a10195764901e0a41e64d596de57a957e7f982f0 Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Sat, 22 Oct 2022 15:59:53 -0400 Subject: bcachefs: More style fixes Fixes for various checkpatch errors. Signed-off-by: Kent Overstreet --- fs/bcachefs/xattr.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fs/bcachefs/xattr.h') diff --git a/fs/bcachefs/xattr.h b/fs/bcachefs/xattr.h index 66d7a1e30350..03f1b73fc926 100644 --- a/fs/bcachefs/xattr.h +++ b/fs/bcachefs/xattr.h @@ -9,10 +9,10 @@ extern const struct bch_hash_desc bch2_xattr_hash_desc; int bch2_xattr_invalid(const struct bch_fs *, struct bkey_s_c, int, struct printbuf *); void bch2_xattr_to_text(struct printbuf *, struct bch_fs *, struct bkey_s_c); -#define bch2_bkey_ops_xattr (struct bkey_ops) { \ +#define bch2_bkey_ops_xattr ((struct bkey_ops) { \ .key_invalid = bch2_xattr_invalid, \ .val_to_text = bch2_xattr_to_text, \ -} +}) static inline unsigned xattr_val_u64s(unsigned name_len, unsigned val_len) { -- cgit v1.2.3