commit | e5df957328b18baa731307c66cfe8e7a4981df65 | [log] [tgz] |
---|---|---|
author | Mark Fasheh <mfasheh@suse.com> | Mon Aug 29 14:17:04 2011 -0700 |
committer | David Sterba <dsterba@suse.cz> | Thu Mar 22 01:45:37 2012 +0100 |
tree | 19f092c1e65c639c17a2fc0582d01b0ebfb3e3a7 | |
parent | 4ed1d16e944c61cfb8a78159548672e7df168d97 [diff] |
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 <mfasheh@suse.de>