Re: [PATCH v11 05/40] btrfs: release path before calling into btrfs_load_block_group_zone_info
From: Johannes Thumshirn <hidden>
Date: 2021-01-12 08:07:08
Also in:
linux-fsdevel
From: Johannes Thumshirn <hidden>
Date: 2021-01-12 08:07:08
Also in:
linux-fsdevel
On 11/01/2021 21:01, Josef Bacik wrote:
Instead why don't we just read in the bgi into the stack, and pass the pointer into read_one_block_group(), drop the path before calling read_one_block_group? We don't use the path in read_one_block_group, there's no reason to pass it in. It'll fix your problem and make it a little cleaner.
Good point, I'll fix it up.