summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorZhaolei2015-08-06 14:58:11 +0200
committerChris Mason2015-08-09 16:07:14 +0200
commit147d256e0980e31505d25d721be979d6a8d2148c (patch)
treecec285ed92c35ef69c7af00cfc83a96beb8c54ab /fs/btrfs/ctree.h
parentbtrfs: Cleanup: Remove chunk_objectid argument from btrfs_relocate_chunk() (diff)
downloadkernel-qcow2-linux-147d256e0980e31505d25d721be979d6a8d2148c.tar.gz
kernel-qcow2-linux-147d256e0980e31505d25d721be979d6a8d2148c.tar.xz
kernel-qcow2-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/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 f57e6cae394b..f335c18bd263 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -4185,8 +4185,7 @@ int btrfs_reloc_clone_csums(struct inode *inode, u64 file_pos, u64 len);
int btrfs_reloc_cow_block(struct btrfs_trans_handle *trans,
struct btrfs_root *root, struct extent_buffer *buf,
struct extent_buffer *cow);
-void btrfs_reloc_pre_snapshot(struct btrfs_trans_handle *trans,
- struct btrfs_pending_snapshot *pending,
+void btrfs_reloc_pre_snapshot(struct btrfs_pending_snapshot *pending,
u64 *bytes_to_reserve);
int btrfs_reloc_post_snapshot(struct btrfs_trans_handle *trans,
struct btrfs_pending_snapshot *pending);