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 /dir-item.c | |
parent | 2c23b7b8717daaf3665fc01b2e1429d114ae4fc6 (diff) |
btrfs-progs: drop unused argument from btrfs_truncate_item
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'dir-item.c')
-rw-r--r-- | dir-item.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -272,7 +272,7 @@ int btrfs_delete_one_dir_name(struct btrfs_trans_handle *trans, start = btrfs_item_ptr_offset(leaf, path->slots[0]); memmove_extent_buffer(leaf, ptr, ptr + sub_item_len, item_len - (ptr + sub_item_len - start)); - btrfs_truncate_item(trans, root, path, item_len - sub_item_len, 1); + btrfs_truncate_item(root, path, item_len - sub_item_len, 1); } return ret; } |