diff options
author | 2018-01-18 16:32:00 +0100 | |
---|---|---|
committer | 2018-01-29 15:23:01 +0100 | |
commit | d98f153f1a116f79e636edd34b4fec07e49ae9b2 (patch) | |
tree | 005a2f73e2d6538780cc9b93d5739c2c578dd13c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | rbd: use kmem_cache_zalloc() in rbd_img_request_create() (diff) | |
download | linux-dev-d98f153f1a116f79e636edd34b4fec07e49ae9b2.tar.xz linux-dev-d98f153f1a116f79e636edd34b4fec07e49ae9b2.zip |
rbd: don't NULL out ->obj_request in rbd_img_obj_parent_read_full()
If rbd_img_request_submit() fails, parent_request->obj_request is
NULLed out, triggering an assert in rbd_obj_request_put():
rbd_img_request_put(parent_request)
rbd_parent_request_destroy
rbd_obj_request_put(NULL)
Just remove it -- parent_request->obj_request will be put in
rbd_parent_request_destroy().
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions