Message ID | 1516936926-18707-6-git-send-email-gujx@cn.fujitsu.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 2018年01月26日 11:22, Gu Jinxiang wrote: > Do a cleanup. > Function btrfs_alloc_extent is no longer be used. > So let's remove it. > > Signed-off-by: Gu Jinxiang <gujx@cn.fujitsu.com> Reviewed-by: Qu Wenruo <wqu@suse.com> Thanks, Qu > --- > ctree.h | 6 ------ > 1 file changed, 6 deletions(-) > > diff --git a/ctree.h b/ctree.h > index c82e7547..34d2505e 100644 > --- a/ctree.h > +++ b/ctree.h > @@ -2487,12 +2487,6 @@ struct extent_buffer *btrfs_alloc_free_block(struct btrfs_trans_handle *trans, > u32 blocksize, u64 root_objectid, > struct btrfs_disk_key *key, int level, > u64 hint, u64 empty_size); > -int btrfs_alloc_extent(struct btrfs_trans_handle *trans, > - struct btrfs_root *root, > - u64 num_bytes, u64 parent, > - u64 root_objectid, u64 ref_generation, > - u64 owner, u64 empty_size, u64 hint_byte, > - u64 search_end, struct btrfs_key *ins, int data); > int btrfs_lookup_extent_info(struct btrfs_trans_handle *trans, > struct btrfs_root *root, u64 bytenr, > u64 offset, int metadata, u64 *refs, u64 *flags); >
diff --git a/ctree.h b/ctree.h index c82e7547..34d2505e 100644 --- a/ctree.h +++ b/ctree.h @@ -2487,12 +2487,6 @@ struct extent_buffer *btrfs_alloc_free_block(struct btrfs_trans_handle *trans, u32 blocksize, u64 root_objectid, struct btrfs_disk_key *key, int level, u64 hint, u64 empty_size); -int btrfs_alloc_extent(struct btrfs_trans_handle *trans, - struct btrfs_root *root, - u64 num_bytes, u64 parent, - u64 root_objectid, u64 ref_generation, - u64 owner, u64 empty_size, u64 hint_byte, - u64 search_end, struct btrfs_key *ins, int data); int btrfs_lookup_extent_info(struct btrfs_trans_handle *trans, struct btrfs_root *root, u64 bytenr, u64 offset, int metadata, u64 *refs, u64 *flags);
Do a cleanup. Function btrfs_alloc_extent is no longer be used. So let's remove it. Signed-off-by: Gu Jinxiang <gujx@cn.fujitsu.com> --- ctree.h | 6 ------ 1 file changed, 6 deletions(-)