btrfs: get fs_info from trans in btrfs_write_dirty_block_groups
We can read fs_info from the transaction and can drop it from the parameters. Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
@@ -1132,7 +1132,7 @@ again:
|
||||
}
|
||||
|
||||
while (!list_empty(dirty_bgs) || !list_empty(io_bgs)) {
|
||||
ret = btrfs_write_dirty_block_groups(trans, fs_info);
|
||||
ret = btrfs_write_dirty_block_groups(trans);
|
||||
if (ret)
|
||||
return ret;
|
||||
ret = btrfs_run_delayed_refs(trans, (unsigned long)-1);
|
||||
|
Reference in New Issue
Block a user