summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2022-11-15 17:10:46 +0300
committerJens Axboe <axboe@kernel.dk>2022-11-17 01:19:56 +0300
commit992ec6a92ac315d3301353ff3beb818fcc34e4e4 (patch)
treea3022a944048929e2ba0c85497410b9771f291e2 /tools/perf/scripts/python/export-to-postgresql.py
parentd90db3b1c8676bc88b4309c5a571333de2263b8e (diff)
downloadlinux-992ec6a92ac315d3301353ff3beb818fcc34e4e4.tar.xz
dm: remove free_table_devices
free_table_devices just warns and frees all table_device structures when the target removal did not remove them. This should never happen, but if it did, just freeing the structure without deleting them from the list or cleaning up the resources would not help at all. So just WARN on a non-empty list instead. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Yu Kuai <yukuai3@huawei.com> Reviewed-by: Mike Snitzer <snitzer@kernel.org> Link: https://lore.kernel.org/r/20221115141054.1051801-3-yukuai1@huaweicloud.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions