diff options
author | Nikolay Borisov <nborisov@suse.com> | 2018-02-07 18:55:41 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-03-26 16:09:31 +0300 |
commit | 21217054203cd10f26ba133352046895c16cd3de (patch) | |
tree | 1ffd6b0afce6d6a186d41299606bc28ec164dae4 /fs/btrfs/transaction.c | |
parent | 6c686b359a2dc501353ea61adcca441dd1473e91 (diff) | |
download | linux-21217054203cd10f26ba133352046895c16cd3de.tar.xz |
btrfs: Don't pass fs_info arg to btrfs_start_dirty_block_groups
It can be referenced from the passed transaction so no point in passing
it as a function argument. No functional changes.
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/transaction.c b/fs/btrfs/transaction.c index e31c4051368b..87f94228abe9 100644 --- a/fs/btrfs/transaction.c +++ b/fs/btrfs/transaction.c @@ -2015,7 +2015,7 @@ int btrfs_commit_transaction(struct btrfs_trans_handle *trans) mutex_unlock(&fs_info->ro_block_group_mutex); if (run_it) - ret = btrfs_start_dirty_block_groups(trans, fs_info); + ret = btrfs_start_dirty_block_groups(trans); } if (ret) { btrfs_end_transaction(trans); |