From: Ilya Dryomov Date: Thu, 13 Mar 2014 14:36:14 +0000 (+0200) Subject: libceph: check length of osdmap osd arrays X-Git-Tag: v3.15-rc1~61^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d88b2e0819e0401ebb195e9fa20fab4be1965c8;p=pandora-kernel.git 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 Reviewed-by: Alex Elder --- Reading git-diff-tree failed