summaryrefslogtreecommitdiff
path: root/fs/bcachefs/bcachefs_format.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2019-02-11 19:27:33 -0500
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 17:08:15 -0400
commit76f4c7b0c33d86bfa3973655ea6ed6182039ca99 (patch)
treec1593933a6a5ffd921a9de004392365552ad1b35 /fs/bcachefs/bcachefs_format.h
parent053dbb377dd2874942a1ca8517d454f35916a782 (diff)
bcachefs: Fix oldest_gen handling
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/bcachefs_format.h')
-rw-r--r--fs/bcachefs/bcachefs_format.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/bcachefs/bcachefs_format.h b/fs/bcachefs/bcachefs_format.h
index a663f9d3fb51..c7971e5c7c36 100644
--- a/fs/bcachefs/bcachefs_format.h
+++ b/fs/bcachefs/bcachefs_format.h
@@ -830,7 +830,8 @@ struct bch_alloc {
x(write_time, 2) \
x(data_type, 1) \
x(dirty_sectors, 2) \
- x(cached_sectors, 2)
+ x(cached_sectors, 2) \
+ x(oldest_gen, 1)
enum {
#define x(name, bytes) BCH_ALLOC_FIELD_##name,