diff options
| author | Jeff Mahoney <jeffm@suse.com> | 2012-03-01 17:56:27 +0400 |
|---|---|---|
| committer | David Sterba <dsterba@suse.cz> | 2012-03-22 04:45:31 +0400 |
| commit | d5c13f927fe77b11a67f79559808c68b26474c77 (patch) | |
| tree | 4725c8b83309fa8431fea85bf9acc99b8e015291 /tools/perf/scripts/python/futex-contention.py | |
| parent | d16cb050e5b1c3a9d754fed7098eefb8237877d1 (diff) | |
| download | linux-d5c13f927fe77b11a67f79559808c68b26474c77.tar.xz | |
btrfs: clean_tree_block should panic on observed memory corruption and return void
The only error condition in clean_tree_block is an accounting bug.
Returning without modifying dirty_metadata_bytes and as if the cleaning
as been performed may cause problems later so it should panic instead.
It should probably be a BUG_ON but we have btrfs_panic now.
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions
