diff options
author | Nikolay Borisov <nborisov@suse.com> | 2018-06-20 14:48:53 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-08-06 13:12:33 +0200 |
commit | 44e1c47d5c3f31a9f5c883834eb9e29d0b165ea8 (patch) | |
tree | 881ee403a414afe094b32c8ce1d82798aa38aed1 /fs/btrfs/delayed-ref.h | |
parent | btrfs: Remove fs_info from lookup_extent_backref (diff) | |
download | linux-44e1c47d5c3f31a9f5c883834eb9e29d0b165ea8.tar.xz linux-44e1c47d5c3f31a9f5c883834eb9e29d0b165ea8.zip |
btrfs: Remove fs_info from btrfs_add_delayed_tree_ref
This function is always called with a valid transaction handle from
where fs_info can be referenced. No functional changes.
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/delayed-ref.h')
-rw-r--r-- | fs/btrfs/delayed-ref.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/delayed-ref.h b/fs/btrfs/delayed-ref.h index ea1aecb6a50d..31729302c827 100644 --- a/fs/btrfs/delayed-ref.h +++ b/fs/btrfs/delayed-ref.h @@ -234,8 +234,7 @@ static inline void btrfs_put_delayed_ref_head(struct btrfs_delayed_ref_head *hea kmem_cache_free(btrfs_delayed_ref_head_cachep, head); } -int btrfs_add_delayed_tree_ref(struct btrfs_fs_info *fs_info, - struct btrfs_trans_handle *trans, +int btrfs_add_delayed_tree_ref(struct btrfs_trans_handle *trans, u64 bytenr, u64 num_bytes, u64 parent, u64 ref_root, int level, int action, struct btrfs_delayed_extent_op *extent_op, |