diff options
author | Tsutomu Itoh <t-itoh@jp.fujitsu.com> | 2013-04-16 01:18:49 -0400 |
---|---|---|
committer | Josef Bacik <jbacik@fusionio.com> | 2013-05-06 15:54:53 -0400 |
commit | 4b90c68015a7c0863292d6306501552d4ffa33ff (patch) | |
tree | 9deba7f24c0ff416aa5113643e7129d89bac3256 /fs/btrfs/inode-item.c | |
parent | afe5fea72bd50b1df2e6a721ef50559427d42f2b (diff) |
Btrfs: remove unused argument of btrfs_extend_item()
Argument 'trans' is not used in btrfs_extend_item().
Signed-off-by: Tsutomu Itoh <t-itoh@jp.fujitsu.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'fs/btrfs/inode-item.c')
-rw-r--r-- | fs/btrfs/inode-item.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/inode-item.c b/fs/btrfs/inode-item.c index cb44398885ba..1640e0344a40 100644 --- a/fs/btrfs/inode-item.c +++ b/fs/btrfs/inode-item.c | |||
@@ -361,7 +361,7 @@ static int btrfs_insert_inode_extref(struct btrfs_trans_handle *trans, | |||
361 | name, name_len, NULL)) | 361 | name, name_len, NULL)) |
362 | goto out; | 362 | goto out; |
363 | 363 | ||
364 | btrfs_extend_item(trans, root, path, ins_len); | 364 | btrfs_extend_item(root, path, ins_len); |
365 | ret = 0; | 365 | ret = 0; |
366 | } | 366 | } |
367 | if (ret < 0) | 367 | if (ret < 0) |
@@ -417,7 +417,7 @@ int btrfs_insert_inode_ref(struct btrfs_trans_handle *trans, | |||
417 | goto out; | 417 | goto out; |
418 | 418 | ||
419 | old_size = btrfs_item_size_nr(path->nodes[0], path->slots[0]); | 419 | old_size = btrfs_item_size_nr(path->nodes[0], path->slots[0]); |
420 | btrfs_extend_item(trans, root, path, ins_len); | 420 | btrfs_extend_item(root, path, ins_len); |
421 | ref = btrfs_item_ptr(path->nodes[0], path->slots[0], | 421 | ref = btrfs_item_ptr(path->nodes[0], path->slots[0], |
422 | struct btrfs_inode_ref); | 422 | struct btrfs_inode_ref); |
423 | ref = (struct btrfs_inode_ref *)((unsigned long)ref + old_size); | 423 | ref = (struct btrfs_inode_ref *)((unsigned long)ref + old_size); |