summaryrefslogtreecommitdiff
path: root/ctree.c
diff options
context:
space:
mode:
Diffstat (limited to 'ctree.c')
-rw-r--r--ctree.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ctree.c b/ctree.c
index e3d687fb..dd61abcb 100644
--- a/ctree.c
+++ b/ctree.c
@@ -2295,9 +2295,7 @@ split:
return ret;
}
-int btrfs_truncate_item(struct btrfs_trans_handle *trans,
- struct btrfs_root *root,
- struct btrfs_path *path,
+int btrfs_truncate_item(struct btrfs_root *root, struct btrfs_path *path,
u32 new_size, int from_end)
{
int ret = 0;