diff options
| author | Anand Jain <[email protected]> | 2018-02-15 18:07:59 +0800 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2018-03-26 15:09:35 +0200 |
| commit | 566b1760b42be7c99c02e894b1ec9a707c2e83d1 (patch) | |
| tree | 6cee8bc71b76d1b0c6e43de1f78f28ebaa25cae7 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 3752d22fcea160cc2493e34f5e0e41cdd7fdd921 (diff) | |
btrfs: use ASSERT to report logical error in cow_file_range()
Use ASSERT to report logical error in cow_file_range(), also move it a
bit closer to when the num_bytes is derived.
The extent start could be (u64)-1 in some cases, the assert should catch
that we do not accidentally pass it to cow_file_range.
Signed-off-by: Anand Jain <[email protected]>
Reviewed-by: Nikolay Borisov <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions