diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2022-07-15 11:12:14 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-08-02 17:22:41 -0600 |
commit | ee452a8d984f94fa8e894f003a52e776e4572881 (patch) | |
tree | 52f1d0ccc8a57447d922c0ef04582d27330a1f5b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | c13cf14f44d23102f864a0d845439aa175631854 (diff) |
null_blk: fix ida error handling in null_add_dev()
There needs to be some error checking if ida_simple_get() fails.
Also call ida_free() if there are errors later.
Fixes: 94bc02e30fb8 ("nullb: use ida to manage index")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/YtEhXsr6vJeoiYhd@kili
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