aboutsummaryrefslogtreecommitdiff
path: root/fs/bcachefs/inode.h
diff options
context:
space:
mode:
authorGravatar Kent Overstreet <kent.overstreet@linux.dev> 2022-10-22 15:00:16 -0400
committerGravatar Kent Overstreet <kent.overstreet@linux.dev> 2023-10-22 17:09:45 -0400
commitfd0c767966327c1b938b489de0f6d2d2036b9055 (patch)
tree83ebf6611f04e9875f0de5ab41fa8c6d1532ca9f /fs/bcachefs/inode.h
parentbcachefs: bch2_bkey_cmp_packed_inlined() (diff)
downloadlinux-fd0c767966327c1b938b489de0f6d2d2036b9055.tar.gz
linux-fd0c767966327c1b938b489de0f6d2d2036b9055.tar.bz2
linux-fd0c767966327c1b938b489de0f6d2d2036b9055.zip
bcachefs: Convert to __packed and __aligned
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/inode.h')
-rw-r--r--fs/bcachefs/inode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/inode.h b/fs/bcachefs/inode.h
index 717a0bc95d93..5c80bdf587f9 100644
--- a/fs/bcachefs/inode.h
+++ b/fs/bcachefs/inode.h
@@ -66,7 +66,7 @@ struct bkey_inode_buf {
#define x(_name, _bits) + 8 + _bits / 8
u8 _pad[0 + BCH_INODE_FIELDS()];
#undef x
-} __attribute__((packed, aligned(8)));
+} __packed __aligned(8);
void bch2_inode_pack(struct bch_fs *, struct bkey_inode_buf *,
const struct bch_inode_unpacked *);