diff options
author | Zhaolei <zhaolei@cn.fujitsu.com> | 2015-08-06 20:58:11 +0800 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2015-08-09 07:07:14 -0700 |
commit | 147d256e0980e31505d25d721be979d6a8d2148c (patch) | |
tree | cec285ed92c35ef69c7af00cfc83a96beb8c54ab /fs/btrfs/ctree.h | |
parent | dc2ee4e244138124a05cdc39365b38d4cc77e3fa (diff) | |
download | lwn-147d256e0980e31505d25d721be979d6a8d2148c.tar.gz lwn-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.h | 3 |
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); |