diff options
author | Luis Chamberlain <mcgrof@kernel.org> | 2021-09-27 15:02:30 -0700 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2021-10-04 09:49:37 +0200 |
commit | 11dfe199eb31079a6f2517a59c380ad55f156696 (patch) | |
tree | 6e4f1beacf4b3d54f11da4aa20ee9876297630cf /tools/perf/scripts/python/export-to-postgresql.py | |
parent | e3ec8e0f5711d73f7e5d5c3cffdf4fad4f1487b9 (diff) |
s390/block/dasd_genhd: add error handling support for add_disk()
We never checked for errors on add_disk() as this function
returned void. Now that this is fixed, use the shiny new
error handling.
Be sure to call dasd_gendisk_free() on error.
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Link: https://lore.kernel.org/r/20210927220232.1071926-5-mcgrof@kernel.org
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions