diff options
author | Tsutomu Itoh <t-itoh@jp.fujitsu.com> | 2013-04-16 05:19:11 +0000 |
---|---|---|
committer | Josef Bacik <jbacik@fusionio.com> | 2013-05-06 15:54:54 -0400 |
commit | fd279faefaa0a166733fcaff24699de7a8ea50b3 (patch) | |
tree | f7ac152b4023d44b7ac4f76685425d10e6d1074a /fs/btrfs | |
parent | 4b90c68015a7c0863292d6306501552d4ffa33ff (diff) | |
download | linux-3.10-fd279faefaa0a166733fcaff24699de7a8ea50b3.tar.gz linux-3.10-fd279faefaa0a166733fcaff24699de7a8ea50b3.tar.bz2 linux-3.10-fd279faefaa0a166733fcaff24699de7a8ea50b3.zip |
Btrfs: cleanup of function where btrfs_extend_item() is called
Argument 'trans' became unnecessary from setup_inline_extent_backref()
that called btrfs_extend_item().
Signed-off-by: Tsutomu Itoh <t-itoh@jp.fujitsu.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'fs/btrfs')
-rw-r--r-- | fs/btrfs/extent-tree.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c index c944b6e64e7..8464d369e47 100644 --- a/fs/btrfs/extent-tree.c +++ b/fs/btrfs/extent-tree.c @@ -1659,8 +1659,7 @@ out: * helper to add new inline back ref */ static noinline_for_stack -void setup_inline_extent_backref(struct btrfs_trans_handle *trans, - struct btrfs_root *root, +void setup_inline_extent_backref(struct btrfs_root *root, struct btrfs_path *path, struct btrfs_extent_inline_ref *iref, u64 parent, u64 root_objectid, @@ -1833,7 +1832,7 @@ int insert_inline_extent_backref(struct btrfs_trans_handle *trans, update_inline_extent_backref(root, path, iref, refs_to_add, extent_op); } else if (ret == -ENOENT) { - setup_inline_extent_backref(trans, root, path, iref, parent, + setup_inline_extent_backref(root, path, iref, parent, root_objectid, owner, offset, refs_to_add, extent_op); ret = 0; |