aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-08-18 16:45:32 +0200
committerJens Axboe <axboe@kernel.dk>2021-08-23 12:55:45 -0600
commit40b3a52ffc5bc3b5427d5d35b035cfb19d03fdd6 (patch)
treef385e3f1902e95c68dec0b90f4fe6e8fc46ea7cf /tools/perf/scripts/python/export-to-postgresql.py
parentd152c682f03ceb65c0d9663d4ba6ee2d46aa784d (diff)
block: add a sanity check for a live disk in del_gendisk
Add a sanity check to del_gendisk to do nothing when the disk wasn't successfully added. This papers over the complete lack of add_disk error handling, which is about to get fixed gradually. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Hannes Reinecke <hare@suse.de> Link: https://lore.kernel.org/r/20210818144542.19305-2-hch@lst.de 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