Searched hist:"2 d88b2e0" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/net/ceph/ |
H A D | osdmap.c | 2d88b2e0 Thu Mar 13 09:36:14 CDT 2014 Ilya Dryomov <ilya.dryomov@inktank.com> libceph: check length of osdmap osd arrays
Check length of osd_state, osd_weight and osd_addr arrays. They should all have exactly max_osd elements after the call to osdmap_set_max_osd().
Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com> Reviewed-by: Alex Elder <elder@linaro.org> 2d88b2e0 Thu Mar 13 09:36:14 CDT 2014 Ilya Dryomov <ilya.dryomov@inktank.com> libceph: check length of osdmap osd arrays Check length of osd_state, osd_weight and osd_addr arrays. They should all have exactly max_osd elements after the call to osdmap_set_max_osd(). Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com> Reviewed-by: Alex Elder <elder@linaro.org>
|