These are fixes for zoned btrfs. Patch 01 fixes the type of a zone sector variable. Patch 02 moves the superblock location to address based. Patch 03 fixes zone_unusable acconting when a block group is read-only. v1 -> v2: - Move the type fix patch to be the first one - Fix the type of variable instead of casting - Introduce #define's for the superblock zone locations and maximum zone size Naohiro Aota (3): btrfs: zoned: use sector_t to get zone sectors btrfs: zoned: move superblock logging zone location btrfs: zoned: do not account freed region of read-only block group as zone_unusable fs/btrfs/free-space-cache.c | 7 ++++++- fs/btrfs/zoned.c | 39 +++++++++++++++++++++++++++++-------- 2 files changed, 37 insertions(+), 9 deletions(-) -- 2.30.1