diff options
author | David Sterba <dsterba@suse.com> | 2017-02-02 13:38:44 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-03-08 13:00:46 +0100 |
commit | 4069aa73d333ea8b6436d593a0e18fc56071b4fe (patch) | |
tree | b9392409608a0635b15bc7e6d7209f6f43f7347c /ctree.h | |
parent | 2c23b7b8717daaf3665fc01b2e1429d114ae4fc6 (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.h | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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, |