bcachefs: fix bch_folio_sector padding

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
Kent Overstreet 2024-03-10 23:34:19 -04:00
parent b3f8e71117
commit 3bbed37214
1 changed files with 3 additions and 6 deletions

View File

@ -51,13 +51,10 @@ enum bch_folio_sector_state {
struct bch_folio_sector {
/* Uncompressed, fully allocated replicas (or on disk reservation): */
unsigned nr_replicas:4;
u8 nr_replicas:4,
/* Owns PAGE_SECTORS * replicas_reserved sized in memory reservation: */
unsigned replicas_reserved:4;
/* i_sectors: */
enum bch_folio_sector_state state:8;
replicas_reserved:4;
u8 state;
};
struct bch_folio {