commit | 3977058c468b872c6bc5e5273bf911d791848643 | [log] [tgz] |
---|---|---|
author | Ilya Dryomov <ilya.dryomov@inktank.com> | Thu Mar 13 16:36:14 2014 +0200 |
committer | Sage Weil <sage@inktank.com> | Fri Apr 04 21:07:40 2014 -0700 |
tree | 8d4d2f0c3e204724cad1295ac88ecb2e3d930a85 | |
parent | 597b52f6ca247086371abd67e5083292a500e736 [diff] |
libceph: safely decode max_osd value in osdmap_decode() max_osd value is not covered by any ceph_decode_need(). Use a safe version of ceph_decode_* macro to decode it. Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com> Reviewed-by: Alex Elder <elder@linaro.org>