summaryrefslogtreecommitdiff
path: root/ctree.h
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.h
parent2c23b7b8717daaf3665fc01b2e1429d114ae4fc6 (diff)
btrfs-progs: drop unused argument from btrfs_truncate_item
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'ctree.h')
-rw-r--r--ctree.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/ctree.h b/ctree.h
index 401257f4..d92f7782 100644
--- a/ctree.h
+++ b/ctree.h
@@ -2600,9 +2600,7 @@ int btrfs_copy_root(struct btrfs_trans_handle *trans,
struct extent_buffer **cow_ret, u64 new_root_objectid);
int btrfs_extend_item(struct btrfs_trans_handle *trans, struct btrfs_root
*root, struct btrfs_path *path, u32 data_size);
-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 btrfs_split_item(struct btrfs_trans_handle *trans,
struct btrfs_root *root,