From: Yan Zheng Date: Thu, 11 Jun 2009 12:51:10 +0000 (-0400) Subject: Btrfs: check duplicate backrefs for both data and metadata X-Git-Tag: v2.6.31-rc1~380^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85d4198e40c289dd623cecd16601fa613559bed7;p=pandora-kernel.git Btrfs: check duplicate backrefs for both data and metadata lookup_inline_extent_backref only checks for duplicate backref for data extents. It assumes backrefs for tree block never conflict. This patch makes lookup_inline_extent_backref check for duplicate backrefs for both data and tree block, so that we can detect potential bug earlier. This is a safety check, strictly speaking it is not required. Signed-off-by: Yan Zheng Signed-off-by: Chris Mason --- Reading git-diff-tree failed