summaryrefslogtreecommitdiff
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorLiu Bo <bo.li.liu@oracle.com>2012-12-27 09:01:20 (GMT)
committerJosef Bacik <jbacik@fusionio.com>2013-02-20 14:37:14 (GMT)
commitdcfac4156fa102c1bab0e4e31df37e47278292f6 (patch)
tree0f39778c13fba2c9d81898c0118abe7fdb168a44 /fs/btrfs/ctree.h
parentc53d613e5293ef248e42195bb0595502b646a5a6 (diff)
downloadlinux-fsl-qoriq-dcfac4156fa102c1bab0e4e31df37e47278292f6.tar.xz
Btrfs: kill unused argument of btrfs_pin_extent_for_log_replay
Argument 'trans' is not used any more. Signed-off-by: Liu Bo <bo.li.liu@oracle.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 411c8d9..22f012d 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -2939,8 +2939,7 @@ int btrfs_lookup_extent_info(struct btrfs_trans_handle *trans,
u64 num_bytes, u64 *refs, u64 *flags);
int btrfs_pin_extent(struct btrfs_root *root,
u64 bytenr, u64 num, int reserved);
-int btrfs_pin_extent_for_log_replay(struct btrfs_trans_handle *trans,
- struct btrfs_root *root,
+int btrfs_pin_extent_for_log_replay(struct btrfs_root *root,
u64 bytenr, u64 num_bytes);
int btrfs_cross_ref_exist(struct btrfs_trans_handle *trans,
struct btrfs_root *root,