projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3f8e71
)
bcachefs: fix bch_folio_sector padding
author
Kent Overstreet
<kent.overstreet@linux.dev>
Mon, 11 Mar 2024 03:34:19 +0000
(23:34 -0400)
committer
Kent Overstreet
<kent.overstreet@linux.dev>
Thu, 14 Mar 2024 01:22:26 +0000
(21:22 -0400)
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/fs-io-pagecache.h
patch
|
blob
|
history
diff --git
a/fs/bcachefs/fs-io-pagecache.h
b/fs/bcachefs/fs-io-pagecache.h
index 8cbaba6565b4493695d679fe41553c197468c752..828c3d7c8f1993129ae54db922f4bf9a649f6b6b 100644
(file)
--- a/
fs/bcachefs/fs-io-pagecache.h
+++ b/
fs/bcachefs/fs-io-pagecache.h
@@
-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 {