btrfs-progs: extent-tree: Add add_merge_cache_extent function
authorQu Wenruo <quwenruo@cn.fujitsu.com>
Tue, 1 Dec 2015 07:11:22 +0000 (15:11 +0800)
committerDavid Sterba <dsterba@suse.com>
Tue, 12 Jan 2016 14:01:03 +0000 (15:01 +0100)
commitf735b37466c293aa6ecc4d145b6251c162c519f6
treec7bb26a6db860a23ba7230d323a87ba59c827edd
parent466e066837898ec047165b8f1081c529092c6d0a
btrfs-progs: extent-tree: Add add_merge_cache_extent function

This add_merge_cache_extent() function will try to merge adjusted
cache_extent.

This is used for later btrfs-convert ext2 free space cache.

Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
extent-cache.c
extent-cache.h