aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.c
diff options
context:
space:
mode:
authorTsutomu Itoh <t-itoh@jp.fujitsu.com>2013-04-16 01:18:49 -0400
committerJosef Bacik <jbacik@fusionio.com>2013-05-06 15:54:53 -0400
commit4b90c68015a7c0863292d6306501552d4ffa33ff (patch)
tree9deba7f24c0ff416aa5113643e7129d89bac3256 /fs/btrfs/ctree.c
parentafe5fea72bd50b1df2e6a721ef50559427d42f2b (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/ctree.c')
-rw-r--r--fs/btrfs/ctree.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/ctree.c b/fs/btrfs/ctree.c
index 01a8a3bd4492..566d99b51bef 100644
--- a/fs/btrfs/ctree.c
+++ b/fs/btrfs/ctree.c
@@ -4383,8 +4383,7 @@ void btrfs_truncate_item(struct btrfs_root *root, struct btrfs_path *path,
4383/* 4383/*
4384 * make the item pointed to by the path bigger, data_size is the new size. 4384 * make the item pointed to by the path bigger, data_size is the new size.
4385 */ 4385 */
4386void btrfs_extend_item(struct btrfs_trans_handle *trans, 4386void btrfs_extend_item(struct btrfs_root *root, struct btrfs_path *path,
4387 struct btrfs_root *root, struct btrfs_path *path,
4388 u32 data_size) 4387 u32 data_size)
4389{ 4388{
4390 int slot; 4389 int slot;