btrfs-progs: check: introduce function to check an extent
authorLu Fengqi <lufq.fnst@cn.fujitsu.com>
Sun, 24 Apr 2016 05:45:28 +0000 (13:45 +0800)
committerDavid Sterba <dsterba@suse.com>
Wed, 17 Aug 2016 16:51:20 +0000 (18:51 +0200)
commitea5052e51f1a284b34a2550b67b465927348fac8
tree5494ea09e007b595676b6b95d1c1cf8ab015fa23
parentbf5e74204e5d40545cc97a9a79d340b1615003a4
btrfs-progs: check: introduce function to check an extent

Introduce function check_extent_item() using previously introduced
functions.

With previous function to check referencer and backref, this function
can be quite easy.

Signed-off-by: Lu Fengqi <lufq.fnst@cn.fujitsu.com>
Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Reviewed-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: David Sterba <dsterba@suse.com>
cmds-check.c