diff options
author | Josef Bacik <josef@toxicpanda.com> | 2021-12-04 01:18:16 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2022-01-07 16:18:25 +0300 |
commit | 56e1edb0e3334db479b8400abc5a9c03602e5ae8 (patch) | |
tree | 9b77d1f61311d34e2807b43db4bdafb6d1f0e217 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 71d18b53540f106a394cb35ed93b487b76678b06 (diff) | |
download | linux-56e1edb0e3334db479b8400abc5a9c03602e5ae8.tar.xz |
btrfs: convert BUG_ON() in btrfs_truncate_inode_items to ASSERT
We have a correctness BUG_ON() in btrfs_truncate_inode_items to make
sure that we're always using min_type == BTRFS_EXTENT_DATA_KEY if
new_size is > 0. Convert this to an ASSERT.
Reviewed-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions