btrfs-progs: map-logical: Use btrfs_next_extent_item
commitef00e4264c6d113e4ba2d377520ff61d5775be39
authorjames harvey <jamespharvey20@gmail.com>
Thu, 7 Jun 2018 07:20:02 +0000 (7 03:20 -0400)
committerDavid Sterba <dsterba@suse.com>
Mon, 6 Aug 2018 13:03:27 +0000 (6 15:03 +0200)
tree55782a51ba0c7c0f8abd7514d713d6fcc4d495b0
parent078e9a1cc973e042ad8fde2d84e0db62fee9c45a
btrfs-progs: map-logical: Use btrfs_next_extent_item

btrfs_next_extent_item() looks for BTRFS_EXTENT_ITEM_KEY and
BTRFS_METADATA_KEY, which are the types we're looking for.

Signed-off-by: James Harvey <jamespharvey20@gmail.com>
Reviewed-by: Su Yue <suy.fnst@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
btrfs-map-logical.c