summaryrefslogtreecommitdiffstats
path: root/include/linux/ceph/rados.h
diff options
context:
space:
mode:
authorIlya Dryomov2014-03-04 10:57:17 +0100
committerYan, Zheng2014-04-03 04:33:51 +0200
commit42dd037c08c7cd6e3e9af7824b0c1d063f838885 (patch)
tree22feb77f7d409ff80ec6dde66c340b595a8839f7 /include/linux/ceph/rados.h
parentrbd: remove out_partial label in rbd_img_request_fill() (diff)
downloadkernel-qcow2-linux-42dd037c08c7cd6e3e9af7824b0c1d063f838885.tar.gz
kernel-qcow2-linux-42dd037c08c7cd6e3e9af7824b0c1d063f838885.tar.xz
kernel-qcow2-linux-42dd037c08c7cd6e3e9af7824b0c1d063f838885.zip
rbd: fix error paths in rbd_img_request_fill()
Doing rbd_obj_request_put() in rbd_img_request_fill() error paths is not only insufficient, but also triggers an rbd_assert() in rbd_obj_request_destroy(): Assertion failure in rbd_obj_request_destroy() at line 1867: rbd_assert(obj_request->img_request == NULL); rbd_img_obj_request_add() adds obj_requests to the img_request, the opposite is rbd_img_obj_request_del(). Use it. Fixes: http://tracker.ceph.com/issues/7327 Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com> Reviewed-by: Alex Elder <elder@linaro.org>
Diffstat (limited to 'include/linux/ceph/rados.h')
0 files changed, 0 insertions, 0 deletions