diff options
author | Ilya Dryomov <ilya.dryomov@inktank.com> | 2014-03-21 19:05:28 +0200 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2014-04-04 21:07:52 -0700 |
commit | 4d60351f9089ef0f39d73c0b6a103e61fc0ed187 (patch) | |
tree | 12f0c5e54657361e9aac7961b59ad96d5f696dec /net/bluetooth/cmtp | |
parent | 433fbdd31db267564bab20420bd8f161a7c69e4d (diff) | |
download | op-kernel-dev-4d60351f9089ef0f39d73c0b6a103e61fc0ed187.zip op-kernel-dev-4d60351f9089ef0f39d73c0b6a103e61fc0ed187.tar.gz |
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 'net/bluetooth/cmtp')
0 files changed, 0 insertions, 0 deletions