diff options
author | Ilya Dryomov <ilya.dryomov@inktank.com> | 2014-03-21 17:05:29 (GMT) |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2014-04-05 04:07:55 (GMT) |
commit | ec7af97258396161e6effba7e788c3fc3cb55263 (patch) | |
tree | fc00b89d05b40fadd9dba80fe8c31fc316a605eb /drivers/scsi/ipr.c | |
parent | 10db634e2083a202a26123d6d4c9ede98d6a1199 (diff) | |
download | linux-ec7af97258396161e6effba7e788c3fc3cb55263.tar.xz |
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 <ilya.dryomov@inktank.com>
Reviewed-by: Alex Elder <elder@linaro.org>
Diffstat (limited to 'drivers/scsi/ipr.c')
0 files changed, 0 insertions, 0 deletions