diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-07-12 14:38:07 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-07-12 14:42:54 -0400 |
commit | a1764e00cde2c0de798588782f2cc5a2bb307045 (patch) | |
tree | 853d825c8b10f560ab55d72f1930c5db27f4d3d0 /libbcachefs/alloc_background.c | |
parent | 4be409afea5fb4325eecf78d29dc463fcd9c3e31 (diff) |
Update bcachefs sources to 47d1e7a86242 bcachefs: drop packed, aligned from bkey_inode_bufv1.9.3
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'libbcachefs/alloc_background.c')
-rw-r--r-- | libbcachefs/alloc_background.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libbcachefs/alloc_background.c b/libbcachefs/alloc_background.c index 9ff822e4..d9c5a92f 100644 --- a/libbcachefs/alloc_background.c +++ b/libbcachefs/alloc_background.c @@ -2384,6 +2384,7 @@ void bch2_recalc_capacity(struct bch_fs *c) reserved_sectors = min(reserved_sectors, capacity); + c->reserved = reserved_sectors; c->capacity = capacity - reserved_sectors; c->bucket_size_max = bucket_size_max; |