aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/tree-log.c
diff options
context:
space:
mode:
authorJohannes Thumshirn <[email protected]>2021-09-09 01:19:32 +0900
committerDavid Sterba <[email protected]>2021-10-26 19:08:02 +0200
commit2d81eb1c3fa16e29a3316c67048b8e2e2416863c (patch)
tree5bd36024fe0ffa10e5fcefb96684961abe3264e1 /fs/btrfs/tree-log.c
parent4b01c44f15cc4b8260ecfeee0a85ed9756db52e2 (diff)
btrfs: zoned: let the for_treelog test in the allocator stand out
The statement which decides if an extent allocation on a zoned device is for the dedicated tree-log block group or not and if we can use the block group we picked for this allocation is not easy to read but an important part of the allocator. Rewrite into an if condition instead of a plain boolean test to make it stand out more, like the version which tests for the dedicated data-relocation block group. Signed-off-by: Johannes Thumshirn <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/tree-log.c')
0 files changed, 0 insertions, 0 deletions