aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorTsutomu Itoh <t-itoh@jp.fujitsu.com>2013-04-16 01:19:11 -0400
committerJosef Bacik <jbacik@fusionio.com>2013-05-06 15:54:54 -0400
commitfd279faefaa0a166733fcaff24699de7a8ea50b3 (patch)
treef7ac152b4023d44b7ac4f76685425d10e6d1074a /fs
parent4b90c68015a7c0863292d6306501552d4ffa33ff (diff)
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')
-rw-r--r--fs/btrfs/extent-tree.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c
index c944b6e64e7a..8464d369e478 100644
--- a/fs/btrfs/extent-tree.c
+++ b/fs/btrfs/extent-tree.c
@@ -1659,8 +1659,7 @@ out:
1659 * helper to add new inline back ref 1659 * helper to add new inline back ref
1660 */ 1660 */
1661static noinline_for_stack 1661static noinline_for_stack
1662void setup_inline_extent_backref(struct btrfs_trans_handle *trans, 1662void setup_inline_extent_backref(struct btrfs_root *root,
1663 struct btrfs_root *root,
1664 struct btrfs_path *path, 1663 struct btrfs_path *path,
1665 struct btrfs_extent_inline_ref *iref, 1664 struct btrfs_extent_inline_ref *iref,
1666 u64 parent, u64 root_objectid, 1665 u64 parent, u64 root_objectid,
@@ -1833,7 +1832,7 @@ int insert_inline_extent_backref(struct btrfs_trans_handle *trans,
1833 update_inline_extent_backref(root, path, iref, 1832 update_inline_extent_backref(root, path, iref,
1834 refs_to_add, extent_op); 1833 refs_to_add, extent_op);
1835 } else if (ret == -ENOENT) { 1834 } else if (ret == -ENOENT) {
1836 setup_inline_extent_backref(trans, root, path, iref, parent, 1835 setup_inline_extent_backref(root, path, iref, parent,
1837 root_objectid, owner, offset, 1836 root_objectid, owner, offset,
1838 refs_to_add, extent_op); 1837 refs_to_add, extent_op);
1839 ret = 0; 1838 ret = 0;