diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2020-06-15 16:59:36 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:08:41 -0400 |
commit | e27b03b35b09f9cbee9a69bd99951d7adaf02fa7 (patch) | |
tree | 33d15d83920a3c3edc6edb165a7387ebd59921c3 /fs/bcachefs | |
parent | 5d20ba48f00050d8e6498cfbbb93b2914bd97114 (diff) | |
download | linux-stable-e27b03b35b09f9cbee9a69bd99951d7adaf02fa7.tar.gz linux-stable-e27b03b35b09f9cbee9a69bd99951d7adaf02fa7.tar.bz2 linux-stable-e27b03b35b09f9cbee9a69bd99951d7adaf02fa7.zip |
bcachefs: Give bkey_cached_key same attributes as bpos
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs')
-rw-r--r-- | fs/bcachefs/btree_types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/btree_types.h b/fs/bcachefs/btree_types.h index 345a06bac0fe..f741bb79d49b 100644 --- a/fs/bcachefs/btree_types.h +++ b/fs/bcachefs/btree_types.h @@ -298,7 +298,7 @@ struct btree_key_cache { struct bkey_cached_key { u32 btree_id; struct bpos pos; -} __packed; +} __attribute__((packed, aligned(4))); #define BKEY_CACHED_DIRTY 0 |