commit | d98f153f1a116f79e636edd34b4fec07e49ae9b2 | [log] [tgz] |
---|---|---|
author | Ilya Dryomov <idryomov@gmail.com> | Thu Jan 18 16:32:00 2018 +0100 |
committer | Ilya Dryomov <idryomov@gmail.com> | Mon Jan 29 15:23:01 2018 +0100 |
tree | 005a2f73e2d6538780cc9b93d5739c2c578dd13c | |
parent | a0c5895b27f6bbf8aa20a2c640845fc261740051 [diff] |
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>