From: Jan Schmidt Date: Thu, 21 Feb 2013 15:35:27 +0000 (+0000) Subject: Btrfs: fix backref walking race with tree deletions X-Git-Tag: v3.9-rc1~17^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca60ebfa303ca6d9f3cad5028c10f0a17d571a4c;p=pandora-kernel.git Btrfs: fix backref walking race with tree deletions When a subvolume is removed, we remove the root item from the root tree, while the tree blocks and backrefs remain for a while. When backref walking comes across one of those orphan tree blocks, it can find a backref for a no longer existing root. This is all good, we only must tolerate __resolve_indirect_ref returning an error and continue with the good refs found. Reported-by: Alex Lyakas Signed-off-by: Jan Schmidt Signed-off-by: Josef Bacik --- Reading git-diff-tree failed