diff options
author | 2011-08-29 14:17:04 -0700 | |
---|---|---|
committer | 2012-03-22 01:45:37 +0100 | |
commit | e5df957328b18baa731307c66cfe8e7a4981df65 (patch) | |
tree | 19f092c1e65c639c17a2fc0582d01b0ebfb3e3a7 /lib/dma-debug.c | |
parent | btrfs: Don't BUG_ON errors in __finish_chunk_alloc() (diff) | |
download | linux-rng-e5df957328b18baa731307c66cfe8e7a4981df65.tar.xz linux-rng-e5df957328b18baa731307c66cfe8e7a4981df65.zip |
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>
Diffstat (limited to 'lib/dma-debug.c')
0 files changed, 0 insertions, 0 deletions