From: Ilya Dryomov Date: Fri, 21 Mar 2014 17:05:29 +0000 (+0200) Subject: libceph: introduce get_osdmap_client_data_v() X-Git-Tag: v3.15-rc1~61^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec7af97258396161e6effba7e788c3fc3cb55263;p=pandora-kernel.git libceph: introduce get_osdmap_client_data_v() Full and incremental osdmaps are structured identically and have identical headers. Add a helper to decode both "old" (16-bit version, v6) and "new" (8-bit struct_v+struct_compat+struct_len, v7) osdmap enconding headers and switch to it. Signed-off-by: Ilya Dryomov Reviewed-by: Alex Elder --- Reading git-diff-tree failed