aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorGuoqing Jiang <guoqing.jiang@cloud.ionos.com>2020-11-26 11:47:22 +0100
committerJens Axboe <axboe@kernel.dk>2020-12-04 09:41:10 -0700
commitd3a95ccaaf4df94743a958c90ab85f4703e3a687 (patch)
tree27546f078a969af51fa659df840c95acad9c5485 /tools/perf/scripts/python/export-to-postgresql.py
parentDocumentation/ABI/rnbd-srv: add document for force_close (diff)
downloadwireguard-linux-d3a95ccaaf4df94743a958c90ab85f4703e3a687.tar.xz
wireguard-linux-d3a95ccaaf4df94743a958c90ab85f4703e3a687.zip
block/rnbd: call kobject_put in the failure path
Per the comment of kobject_init_and_add, we need to cleanup the memory by call kobject_put. Also we need to call kobject_del for the other failure cases if the kobject_init_and_add doesn't fail. Signed-off-by: Guoqing Jiang <guoqing.jiang@cloud.ionos.com> Signed-off-by: Jack Wang <jinpu.wang@cloud.ionos.com> Reviewed-by: Md Haris Iqbal <haris.iqbal@cloud.ionos.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