Btrfs: cleanup of function where fixup_low_keys() is called
If argument 'trans' is unnecessary in the function where fixup_low_keys() is called, 'trans' is deleted. Signed-off-by: Tsutomu Itoh <t-itoh@jp.fujitsu.com> Signed-off-by: Josef Bacik <jbacik@fusionio.com>
This commit is contained in:
committed by
Josef Bacik
parent
d6a0a12684
commit
afe5fea72b
@@ -4178,8 +4178,7 @@ search_again:
|
||||
}
|
||||
size =
|
||||
btrfs_file_extent_calc_inline_size(size);
|
||||
btrfs_truncate_item(trans, root, path,
|
||||
size, 1);
|
||||
btrfs_truncate_item(root, path, size, 1);
|
||||
} else if (root->ref_cows) {
|
||||
inode_sub_bytes(inode, item_end + 1 -
|
||||
found_key.offset);
|
||||
|
Reference in New Issue
Block a user