diff options
Diffstat (limited to 'fs/btrfs/extent-tree.c')
-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 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 | */ |
1661 | static noinline_for_stack | 1661 | static noinline_for_stack |
1662 | void setup_inline_extent_backref(struct btrfs_trans_handle *trans, | 1662 | void 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; |