btrfs-progs: print root dir verbose error in fsck
authorQu Wenruo <quwenruo@cn.fujitsu.com>
Wed, 3 Dec 2014 04:18:27 +0000 (12:18 +0800)
committerDavid Sterba <dsterba@suse.cz>
Thu, 4 Dec 2014 13:37:44 +0000 (14:37 +0100)
commit1102b3483b12da9e8040d2fe4e18e4d64146000a
treefb76de90922b1c47340a223020a6a6471bf74b0f
parent602536773da3a80a9b550f02acd0a2a576018dfb
btrfs-progs: print root dir verbose error in fsck

Before this patch, when btrfsck found an error in root dir, it will only
output the following message "root %llu root dir %llu error" without any
detailed error.

Just add print_inode_error() to print out the whole error.

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