]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
bcachefs: Eliminate padding in move_bucket_key
authorKent Overstreet <kent.overstreet@linux.dev>
Thu, 20 Mar 2025 18:15:33 +0000 (14:15 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Mon, 24 Mar 2025 13:50:37 +0000 (09:50 -0400)
We appear to be tripping over a compiler/kmsan bug with padding fields -
this is an easy workaround.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/move_types.h

index 82e473ed48d2d1a8ed20cde7432d4d21621728df..807f779f6f767bc5e5df4e5596d81a73627094c9 100644 (file)
@@ -32,7 +32,7 @@ struct bch_move_stats {
 
 struct move_bucket_key {
        struct bpos             bucket;
-       u8                      gen;
+       unsigned                gen;
 };
 
 struct move_bucket {