btrfs-progs: check: introduce function to check dev used space
authorLu Fengqi <lufq.fnst@cn.fujitsu.com>
Sun, 24 Apr 2016 06:17:10 +0000 (14:17 +0800)
committerDavid Sterba <dsterba@suse.com>
Wed, 17 Aug 2016 16:51:20 +0000 (18:51 +0200)
commitf9ed952b37bd9e80547fab589874bda17db13fdc
treec4f3ef18a2f88ffd83e597cf60ef7919542ed327
parentd93fde82344b9cccaedd5d902ad928162b98b595
btrfs-progs: check: introduce function to check dev used space

Introduce function check_dev_item() to check used space with dev extent
items.

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