diff options
author | Nikolay Borisov <nborisov@suse.com> | 2018-06-20 15:49:02 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-08-06 13:12:35 +0200 |
commit | c4d56d4a1688e9cb926fd4abb428e5a9c1f963b9 (patch) | |
tree | aaa7891c6c4f8eb851637193d0a62734440b7b92 /fs/btrfs/extent-tree.c | |
parent | 20b9a2d670fa9f06d9f682cc414f3d1cb0adf440 (diff) | |
download | lwn-c4d56d4a1688e9cb926fd4abb428e5a9c1f963b9.tar.gz lwn-c4d56d4a1688e9cb926fd4abb428e5a9c1f963b9.zip |
btrfs: Remove unused fs_info from cleanup_extent_op
The argument is no longer used so remove it.
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: Qu Wenruo <wqu@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 | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c index 1c6c9ed1f7d2..25a6202be4e3 100644 --- a/fs/btrfs/extent-tree.c +++ b/fs/btrfs/extent-tree.c @@ -2546,7 +2546,6 @@ static void unselect_delayed_ref_head(struct btrfs_delayed_ref_root *delayed_ref } static int cleanup_extent_op(struct btrfs_trans_handle *trans, - struct btrfs_fs_info *fs_info, struct btrfs_delayed_ref_head *head) { struct btrfs_delayed_extent_op *extent_op = head->extent_op; @@ -2574,7 +2573,7 @@ static int cleanup_ref_head(struct btrfs_trans_handle *trans, delayed_refs = &trans->transaction->delayed_refs; - ret = cleanup_extent_op(trans, fs_info, head); + ret = cleanup_extent_op(trans, head); if (ret < 0) { unselect_delayed_ref_head(delayed_refs, head); btrfs_debug(fs_info, "run_delayed_extent_op returned %d", ret); |