From: Mark Fasheh Date: Mon, 29 Aug 2011 21:17:04 +0000 (-0700) Subject: btrfs: Go readonly on bad extent refs in update_ref_for_cow() X-Git-Tag: v3.4-rc1~22^2~13^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5df957328b18baa731307c66cfe8e7a4981df65;p=pandora-kernel.git btrfs: Go readonly on bad extent refs in update_ref_for_cow() update_ref_for_cow() will BUG_ON() after it's call to btrfs_lookup_extent_info() if no existing references are found. Since refs are computed directly from disk, this should be treated as a corruption instead of a logic error. Signed-off-by: Mark Fasheh --- Reading git-diff-tree failed