Skip to content

Commit 9ea24b2

Browse files
author
Kent Overstreet
committed
bcachefs: Eliminate padding in move_bucket_key
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]>
1 parent 1f88c35 commit 9ea24b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/bcachefs/move_types.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ struct bch_move_stats {
3232

3333
struct move_bucket_key {
3434
struct bpos bucket;
35-
u8 gen;
35+
unsigned gen;
3636
};
3737

3838
struct move_bucket {

0 commit comments

Comments
 (0)