diff options
| author | Josef Bacik <[email protected]> | 2024-01-02 15:18:07 -0500 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2024-03-04 16:24:45 +0100 |
| commit | 8fd2b12e6a414b383692c7f5ca05ab75204bdece (patch) | |
| tree | 82396854d1f8c633cf43fc80c5dea18ff1656e31 /tools/perf/scripts/python | |
| parent | 592a0ce9e2d928f6cba285e1d59ca89ce7f7c88e (diff) | |
btrfs: WARN_ON_ONCE() in our leak detection code
fstests looks for WARN_ON's in dmesg. Add WARN_ON_ONCE() to our leak
detection code (enabled only in debug builds) so that fstests will fail
if these things trip at all. This will allow us to easily catch
problems with our reference counting that may otherwise go unnoticed.
Reviewed-by: Neal Gompa <[email protected]>
Reviewed-by: Anand Jain <[email protected]>
Signed-off-by: Josef Bacik <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions