Btrfs-progs: fix btrfsck's snapshot wrong "unresolved refs"
authorMiao Xie <miaox@cn.fujitsu.com>
Thu, 23 Feb 2012 07:52:58 +0000 (15:52 +0800)
committerChris Mason <chris.mason@fusionio.com>
Tue, 3 Jul 2012 20:27:46 +0000 (16:27 -0400)
commitcfdd42686c7534cd54270aa382f8a28c61bf2c70
tree4c8fe1ef8a4d72c5fcbcf1463b19e17b7b7d35d8
parent1ee733a9ca10f5dc4c7954efcc18f9033abbe218
Btrfs-progs: fix btrfsck's snapshot wrong "unresolved refs"

If the fs/file tree is not the parent of the snapshot, it is reasonable
that we can not find the relative reference and back reference. But btrfsck
doesn't consider this case, and reports "unresolved refs" message, it's wrong,
fix it.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
btrfsck.c