btrfs-progs: check: modify check_fs_first_inode()
authorSu Yue <suy.fnst@cn.fujitsu.com>
Mon, 28 Aug 2017 05:54:21 +0000 (13:54 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 16 Oct 2017 18:33:00 +0000 (20:33 +0200)
commitf32ca721257a78010a7ed8c6870a09c1274de1b2
tree2bf71bd56922e204ceb450790cefc745338e164f
parenta1073e7976f354360f8e2a589c18d05f124579b4
btrfs-progs: check: modify check_fs_first_inode()

Modify check_fs_first_inode to check the inode ref in first inode.

Which root dir inode differs from other inode is inode_ref points
"..".
So we just handle this special case and treat it as normal
inode in continued check.

Signed-off-by: Su Yue <suy.fnst@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
cmds-check.c