summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/tree-log.c
diff options
context:
space:
mode:
authorTsutomu Itoh2013-04-16 07:18:22 +0200
committerJosef Bacik2013-05-06 21:54:52 +0200
commitafe5fea72bd50b1df2e6a721ef50559427d42f2b (patch)
tree23c1d3f24f3e861c399425f72bc4929048467ed2 /fs/btrfs/tree-log.c
parentBtrfs: remove unused argument of fixup_low_keys() (diff)
downloadkernel-qcow2-linux-afe5fea72bd50b1df2e6a721ef50559427d42f2b.tar.gz
kernel-qcow2-linux-afe5fea72bd50b1df2e6a721ef50559427d42f2b.tar.xz
kernel-qcow2-linux-afe5fea72bd50b1df2e6a721ef50559427d42f2b.zip
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/tree-log.c')
-rw-r--r--fs/btrfs/tree-log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/tree-log.c b/fs/btrfs/tree-log.c
index b069fafbc3de..3442dd900e19 100644
--- a/fs/btrfs/tree-log.c
+++ b/fs/btrfs/tree-log.c
@@ -408,7 +408,7 @@ insert:
found_size = btrfs_item_size_nr(path->nodes[0],
path->slots[0]);
if (found_size > item_size)
- btrfs_truncate_item(trans, root, path, item_size, 1);
+ btrfs_truncate_item(root, path, item_size, 1);
else if (found_size < item_size)
btrfs_extend_item(trans, root, path,
item_size - found_size);