On 13/10/2020 18:27, David Sterba wrote: > On Fri, Oct 02, 2020 at 03:36:45AM +0900, Naohiro Aota wrote: >> --- a/fs/btrfs/extent-tree.c >> +++ b/fs/btrfs/extent-tree.c >> @@ -3656,6 +3656,9 @@ struct find_free_extent_ctl { >> >> /* Allocation policy */ >> enum btrfs_extent_allocation_policy policy; >> + >> + /* Allocation is called for tree-log */ >> + bool for_treelog; > > There are already bool flags in find_free_extent_ctl, move it after > orig_have_caching_bg. > Fixed