diff options
author | 2025-02-12 15:05:00 +0100 | |
---|---|---|
committer | 2025-03-18 20:35:42 +0100 | |
commit | 26b38e28162ef4ceb1e0482299820fbbd7dbcd92 (patch) | |
tree | 2c2cd61915257d5da301b46a4f749943a87a0101 /fs/btrfs/qgroup.c | |
parent | btrfs: require strict data/metadata split for subpage checks (diff) | |
download | wireguard-linux-26b38e28162ef4ceb1e0482299820fbbd7dbcd92.tar.xz wireguard-linux-26b38e28162ef4ceb1e0482299820fbbd7dbcd92.zip |
btrfs: zoned: exit btrfs_can_activate_zone if BTRFS_FS_NEED_ZONE_FINISH is set
If BTRFS_FS_NEED_ZONE_FINISH is already set for the whole filesystem, exit
early in btrfs_can_activate_zone(). There's no need to check if
BTRFS_FS_NEED_ZONE_FINISH needs to be set if it is already set.
Reviewed-by: Naohiro Aota <naohiro.aota@wdc.com>
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/qgroup.c')
0 files changed, 0 insertions, 0 deletions