summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/inode.c
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2018-03-15 17:27:37 +0200
committerDavid Sterba <dsterba@suse.com>2018-03-31 01:41:10 +0200
commitc79a70b1330b374d6f4d88f266552054a4b58d08 (patch)
treec86e49d37edd3ef47ddc5af21d0f1dbe7967792c /fs/btrfs/inode.c
parent39d7d09dc2d60a42c70f78ebf9e56ed123a9050e (diff)
downloadlinux-c79a70b1330b374d6f4d88f266552054a4b58d08.tar.bz2
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>
Diffstat (limited to 'fs/btrfs/inode.c')
-rw-r--r--fs/btrfs/inode.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
index 1e9cceeaf4c4..1a83b71685d1 100644
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
@@ -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;
}