diff options
author | Tsutomu Itoh <t-itoh@jp.fujitsu.com> | 2013-04-16 01:18:22 -0400 |
---|---|---|
committer | Josef Bacik <jbacik@fusionio.com> | 2013-05-06 15:54:52 -0400 |
commit | afe5fea72bd50b1df2e6a721ef50559427d42f2b (patch) | |
tree | 23c1d3f24f3e861c399425f72bc4929048467ed2 /fs/btrfs/inode.c | |
parent | d6a0a12684523d635e0530a9d70a1eba4b8c4fb9 (diff) |
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>
Diffstat (limited to 'fs/btrfs/inode.c')
-rw-r--r-- | fs/btrfs/inode.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index ca4051713633..d65a55c9be8a 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c | |||
@@ -4178,8 +4178,7 @@ search_again: | |||
4178 | } | 4178 | } |
4179 | size = | 4179 | size = |
4180 | btrfs_file_extent_calc_inline_size(size); | 4180 | btrfs_file_extent_calc_inline_size(size); |
4181 | btrfs_truncate_item(trans, root, path, | 4181 | btrfs_truncate_item(root, path, size, 1); |
4182 | size, 1); | ||
4183 | } else if (root->ref_cows) { | 4182 | } else if (root->ref_cows) { |
4184 | inode_sub_bytes(inode, item_end + 1 - | 4183 | inode_sub_bytes(inode, item_end + 1 - |
4185 | found_key.offset); | 4184 | found_key.offset); |