diff options
author | Nikolay Borisov <nborisov@suse.com> | 2018-03-15 16:00:26 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-03-31 01:41:11 +0200 |
commit | 5ead2dd02c776e2acf50d5a8cd31a90513f45433 (patch) | |
tree | bb2340bd3ff018a879c9142c016ca5baf7725c4b /fs/btrfs/extent-tree.c | |
parent | 460fb20a4bba040d7a95629ef7a4e9b97bfdbb6e (diff) | |
download | lwn-5ead2dd02c776e2acf50d5a8cd31a90513f45433.tar.gz lwn-5ead2dd02c776e2acf50d5a8cd31a90513f45433.zip |
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/extent-tree.c')
-rw-r--r-- | fs/btrfs/extent-tree.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c index 7b1c7c0e3d75..9100a534d539 100644 --- a/fs/btrfs/extent-tree.c +++ b/fs/btrfs/extent-tree.c @@ -6770,9 +6770,9 @@ static int unpin_extent_range(struct btrfs_fs_info *fs_info, return 0; } -int btrfs_finish_extent_commit(struct btrfs_trans_handle *trans, - struct btrfs_fs_info *fs_info) +int btrfs_finish_extent_commit(struct btrfs_trans_handle *trans) { + struct btrfs_fs_info *fs_info = trans->fs_info; struct btrfs_block_group_cache *block_group, *tmp; struct list_head *deleted_bgs; struct extent_io_tree *unpin; |