btrfs-progs: check: introduce function to check fs root
authorLu Fengqi <lufq.fnst@cn.fujitsu.com>
Tue, 26 Jul 2016 03:18:40 +0000 (11:18 +0800)
committerDavid Sterba <dsterba@suse.com>
Wed, 14 Dec 2016 14:06:33 +0000 (15:06 +0100)
commit262425b6504af0b643c52c0dbfc0f26f79d7fe5b
tree39b61185e0327d25e728f74fb95a707f054b0f42
parentb1d1f627ce53e1deeb7068df8861a0d0425044b0
btrfs-progs: check: introduce function to check fs root

Introduce a new function check_fs_root_v2() to check fs root,
and call check_inode_item to check the items in the tree.

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