summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/transaction.c
diff options
context:
space:
mode:
authorZhaolei <zhaolei@cn.fujitsu.com>2015-08-06 14:58:11 +0200
committerChris Mason <clm@fb.com>2015-08-09 16:07:14 +0200
commit147d256e0980e31505d25d721be979d6a8d2148c (patch)
treecec285ed92c35ef69c7af00cfc83a96beb8c54ab /fs/btrfs/transaction.c
parentbtrfs: Cleanup: Remove chunk_objectid argument from btrfs_relocate_chunk() (diff)
downloadlinux-147d256e0980e31505d25d721be979d6a8d2148c.tar.xz
linux-147d256e0980e31505d25d721be979d6a8d2148c.zip
btrfs: Remove unnecessary variants in relocation.c
These arguments are not used in functions, remove them for cleanup and make kernel stack happy. Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs/transaction.c')
-rw-r--r--fs/btrfs/transaction.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/transaction.c b/fs/btrfs/transaction.c
index f5021fcb154e..91f44c9f7ebc 100644
--- a/fs/btrfs/transaction.c
+++ b/fs/btrfs/transaction.c
@@ -1301,7 +1301,7 @@ static noinline int create_pending_snapshot(struct btrfs_trans_handle *trans,
*/
btrfs_set_skip_qgroup(trans, objectid);
- btrfs_reloc_pre_snapshot(trans, pending, &to_reserve);
+ btrfs_reloc_pre_snapshot(pending, &to_reserve);
if (to_reserve > 0) {
pending->error = btrfs_block_rsv_add(root,