diff options
author | Nikolay Borisov <nborisov@suse.com> | 2018-03-15 17:00:26 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-03-31 02:41:11 +0300 |
commit | 5ead2dd02c776e2acf50d5a8cd31a90513f45433 (patch) | |
tree | bb2340bd3ff018a879c9142c016ca5baf7725c4b /fs/btrfs/ctree.h | |
parent | 460fb20a4bba040d7a95629ef7a4e9b97bfdbb6e (diff) | |
download | linux-5ead2dd02c776e2acf50d5a8cd31a90513f45433.tar.xz |
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/ctree.h')
-rw-r--r-- | fs/btrfs/ctree.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index b0573cdb4d20..03be51d77357 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h @@ -2682,8 +2682,7 @@ int btrfs_free_reserved_extent(struct btrfs_fs_info *fs_info, int btrfs_free_and_pin_reserved_extent(struct btrfs_fs_info *fs_info, u64 start, u64 len); void btrfs_prepare_extent_commit(struct btrfs_fs_info *fs_info); -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); int btrfs_inc_extent_ref(struct btrfs_trans_handle *trans, struct btrfs_root *root, u64 bytenr, u64 num_bytes, u64 parent, |