summaryrefslogtreecommitdiff
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorTsutomu Itoh <t-itoh@jp.fujitsu.com>2013-04-16 05:18:49 +0000
committerJosef Bacik <jbacik@fusionio.com>2013-05-06 15:54:53 -0400
commit4b90c68015a7c0863292d6306501552d4ffa33ff (patch)
tree9deba7f24c0ff416aa5113643e7129d89bac3256 /fs/btrfs/ctree.h
parentafe5fea72bd50b1df2e6a721ef50559427d42f2b (diff)
downloadlinux-3.10-4b90c68015a7c0863292d6306501552d4ffa33ff.tar.gz
linux-3.10-4b90c68015a7c0863292d6306501552d4ffa33ff.tar.bz2
linux-3.10-4b90c68015a7c0863292d6306501552d4ffa33ff.zip
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.h')
-rw-r--r--fs/btrfs/ctree.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index 84d6d5cb02f..97468780815 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -3219,8 +3219,7 @@ int btrfs_copy_root(struct btrfs_trans_handle *trans,
struct extent_buffer **cow_ret, u64 new_root_objectid);
int btrfs_block_can_be_shared(struct btrfs_root *root,
struct extent_buffer *buf);
-void btrfs_extend_item(struct btrfs_trans_handle *trans,
- struct btrfs_root *root, struct btrfs_path *path,
+void btrfs_extend_item(struct btrfs_root *root, struct btrfs_path *path,
u32 data_size);
void btrfs_truncate_item(struct btrfs_root *root, struct btrfs_path *path,
u32 new_size, int from_end);