aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/structleak_plugin.c
diff options
context:
space:
mode:
authorNaohiro Aota <[email protected]>2021-03-03 08:55:48 +0000
committerDavid Sterba <[email protected]>2021-03-04 15:16:58 +0000
commitbadae9c86979c459bd7d895d6d7ddc7a01131ff7 (patch)
tree6b067f50bdc3d6faacead81b56c416da7ef8ebb2 /scripts/gcc-plugins/structleak_plugin.c
parentbtrfs: zoned: use sector_t for zone sectors (diff)
downloadkernel-badae9c86979c459bd7d895d6d7ddc7a01131ff7.tar.gz
kernel-badae9c86979c459bd7d895d6d7ddc7a01131ff7.zip
btrfs: zoned: do not account freed region of read-only block group as zone_unusable
We migrate zone unusable bytes to read-only bytes when a block group is set to read-only, and account all the free region as bytes_readonly. Thus, we should not increase block_group->zone_unusable when the block group is read-only. Fixes: 169e0da91a21 ("btrfs: zoned: track unusable bytes for zones") Reviewed-by: Johannes Thumshirn <[email protected]> Signed-off-by: Naohiro Aota <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/structleak_plugin.c')
0 files changed, 0 insertions, 0 deletions