btrfs: drop fs_info parameter from btrfs_run_delayed_refs

It's provided by the transaction handle.

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
Nikolay Borisov
2018-03-15 17:27:37 +02:00
committed by David Sterba
parent 39d7d09dc2
commit c79a70b133
4 changed files with 18 additions and 20 deletions

View File

@@ -4730,7 +4730,6 @@ delete:
if (updates) {
trans->delayed_ref_updates = 0;
ret = btrfs_run_delayed_refs(trans,
fs_info,
updates * 2);
if (ret && !err)
err = ret;
@@ -4770,8 +4769,7 @@ error:
unsigned long updates = trans->delayed_ref_updates;
if (updates) {
trans->delayed_ref_updates = 0;
ret = btrfs_run_delayed_refs(trans, fs_info,
updates * 2);
ret = btrfs_run_delayed_refs(trans, updates * 2);
if (ret && !err)
err = ret;
}