diff options
author | Qu Wenruo <wqu@suse.com> | 2022-03-15 18:01:33 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2022-05-16 17:03:08 +0200 |
commit | b95b78e628d56c6d3d7912e264d9745777b2d800 (patch) | |
tree | f935ff917b1b8b57a2060712fcac858aad67b09e /fs/btrfs/ctree.h | |
parent | btrfs: use a local variable for fs_devices pointer in btrfs_dev_replace_finishing (diff) | |
download | linux-dev-b95b78e628d56c6d3d7912e264d9745777b2d800.tar.xz linux-dev-b95b78e628d56c6d3d7912e264d9745777b2d800.zip |
btrfs: warn when extent buffer leak test fails
Although we have btrfs_extent_buffer_leak_debug_check() (enabled by
CONFIG_BTRFS_DEBUG option) to detect and warn QA testers that we have
some extent buffer leakage, it's just pr_err(), not noisy enough for
fstests to cache.
So here we trigger a WARN_ON() if the allocated_ebs list is not empty.
Reviewed-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
0 files changed, 0 insertions, 0 deletions