diff options
author | Naohiro Aota <[email protected]> | 2022-07-09 08:18:48 +0900 |
---|---|---|
committer | David Sterba <[email protected]> | 2022-07-25 17:45:42 +0200 |
commit | b6a98021e4019c562a23ad151a7e40adfa9f91e5 (patch) | |
tree | 124f91b9266e9d4b1f393c921ec3dc93c47c7f47 /fs/btrfs/inode.c | |
parent | b0931513913633044ed6e3800334c28433c007b0 (diff) |
btrfs: zoned: activate necessary block group
There are two places where allocating a chunk is not enough. These two
places are trying to ensure the space by allocating a chunk. To meet the
condition for active_total_bytes, we also need to activate a block group
there.
CC: [email protected] # 5.16+
Fixes: afba2bc036b0 ("btrfs: zoned: implement active zone tracking")
Signed-off-by: Naohiro Aota <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/inode.c')
0 files changed, 0 insertions, 0 deletions