diff options
author | Alex Elder <elder@inktank.com> | 2013-04-11 00:47:46 +0200 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-04-17 20:39:09 +0200 |
commit | 46faeed4a61e220b99591e9773057160eb437cc8 (patch) | |
tree | cba50f0421c71726396cf1d527570046ba117cc6 /drivers/leds/leds-pca9532.c | |
parent | rbd: don't zero-fill non-image object requests (diff) | |
download | linux-46faeed4a61e220b99591e9773057160eb437cc8.tar.xz linux-46faeed4a61e220b99591e9773057160eb437cc8.zip |
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 'drivers/leds/leds-pca9532.c')
0 files changed, 0 insertions, 0 deletions