summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorIlya Dryomov <ilya.dryomov@inktank.com>2014-03-21 17:05:28 (GMT)
committerSage Weil <sage@inktank.com>2014-04-05 04:07:52 (GMT)
commit4d60351f9089ef0f39d73c0b6a103e61fc0ed187 (patch)
tree12f0c5e54657361e9aac7961b59ad96d5f696dec /drivers
parent433fbdd31db267564bab20420bd8f161a7c69e4d (diff)
downloadlinux-4d60351f9089ef0f39d73c0b6a103e61fc0ed187.tar.xz
libceph: switch osdmap_set_max_osd() to krealloc()
Use krealloc() instead of rolling our own. (krealloc() with a NULL first argument acts as a kmalloc()). Properly initalize the new array elements. This is needed to make future additions to osdmap easier. Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com> Reviewed-by: Alex Elder <elder@linaro.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions