diff options
author | Alex Elder <elder@inktank.com> | 2013-04-10 17:47:46 -0500 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-04-17 11:39:09 -0700 |
commit | 46faeed4a61e220b99591e9773057160eb437cc8 (patch) | |
tree | cba50f0421c71726396cf1d527570046ba117cc6 /block | |
parent | 6e2a4505dba0cae8faa701426185dfb7b49f537c (diff) |
rbd: do a safe list traversal in rbd_img_request_submit()
It's possible that the reference to the object request dropped
inside the loop in rbd_img_request_submit() will be the last
one, in which case the content of the object pointer can't be
trusted.
Use a safe form of the object request list traversal to avoid
problems.
This resolves:
http://tracker.ceph.com/issues/4705
Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions