summaryrefslogtreecommitdiff
path: root/fs/btrfs/transaction.c
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2018-03-15 16:00:26 +0200
committerDavid Sterba <dsterba@suse.com>2018-03-31 01:41:11 +0200
commit5ead2dd02c776e2acf50d5a8cd31a90513f45433 (patch)
treebb2340bd3ff018a879c9142c016ca5baf7725c4b /fs/btrfs/transaction.c
parent460fb20a4bba040d7a95629ef7a4e9b97bfdbb6e (diff)
btrfs: Drop fs_info parameter from btrfs_finish_extent_commit
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/transaction.c')
-rw-r--r--fs/btrfs/transaction.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/transaction.c b/fs/btrfs/transaction.c
index 7c815885ac01..15f6541303bc 100644
--- a/fs/btrfs/transaction.c
+++ b/fs/btrfs/transaction.c
@@ -2268,7 +2268,7 @@ int btrfs_commit_transaction(struct btrfs_trans_handle *trans)
if (ret)
goto scrub_continue;
- btrfs_finish_extent_commit(trans, fs_info);
+ btrfs_finish_extent_commit(trans);
if (test_bit(BTRFS_TRANS_HAVE_FREE_BGS, &cur_trans->flags))
btrfs_clear_space_info_full(fs_info);