btrfs-progs: map-logical: introduce map_one_extent function
authorQu Wenruo <quwenruo@cn.fujitsu.com>
Wed, 17 Jun 2015 07:49:01 +0000 (15:49 +0800)
committerDavid Sterba <dsterba@suse.cz>
Wed, 17 Jun 2015 14:09:33 +0000 (16:09 +0200)
commit02454f307b76f9ef64543ada5a5e420d4c3a6c50
tree9c11551908373d8cf5516b9b4b7e002820190922
parent0074cd315c9e82e4f0ff8348b77d785da7eb487b
btrfs-progs: map-logical: introduce map_one_extent function

Introduce the function to get accurate extent length based on extent
tree search.

Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
btrfs-map-logical.c