summaryrefslogtreecommitdiff
path: root/ctree.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2017-02-02 13:38:44 +0100
committerDavid Sterba <dsterba@suse.com>2017-03-08 13:00:46 +0100
commit4069aa73d333ea8b6436d593a0e18fc56071b4fe (patch)
treeb9392409608a0635b15bc7e6d7209f6f43f7347c /ctree.c
parent2c23b7b8717daaf3665fc01b2e1429d114ae4fc6 (diff)
btrfs-progs: drop unused argument from btrfs_truncate_item
Signed-off-by: David Sterba <dsterba@suse.com>
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;