we appear to be tripping over a compiler/kmsan bug with padding fields -
this is an easy workaround.

Signed-off-by: Kent Overstreet <[email protected]>
---
 fs/bcachefs/move_types.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/bcachefs/move_types.h b/fs/bcachefs/move_types.h
index 82e473ed48d2..31171a5bf0e1 100644
--- a/fs/bcachefs/move_types.h
+++ b/fs/bcachefs/move_types.h
@@ -33,7 +33,7 @@ struct bch_move_stats {
 struct move_bucket_key {
        struct bpos             bucket;
        u8                      gen;
-};
+} __packed;
 
 struct move_bucket {
        struct move_bucket_key  k;
-- 
2.49.0


Reply via email to