mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
btrfs: remove fs_info from btrfs_check_space_for_delayed_refs
It can be referenced from the transaction handle. Signed-off-by: Lu Fengqi <lufq.fnst@cn.fujitsu.com> Reviewed-by: Nikolay Borisov <nborisov@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
9e920a6f03
commit
af9b8a0e20
4 changed files with 6 additions and 7 deletions
|
@ -5319,7 +5319,7 @@ static struct btrfs_trans_handle *evict_refill_and_join(struct btrfs_root *root,
|
|||
* Try to steal from the global reserve if there is space for
|
||||
* it.
|
||||
*/
|
||||
if (!btrfs_check_space_for_delayed_refs(trans, fs_info) &&
|
||||
if (!btrfs_check_space_for_delayed_refs(trans) &&
|
||||
!btrfs_block_rsv_migrate(global_rsv, rsv, rsv->size, false))
|
||||
return trans;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue