diff options
author | Ilya Dryomov <ilya.dryomov@inktank.com> | 2014-03-21 19:05:29 +0200 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2014-04-04 21:07:55 -0700 |
commit | ec7af97258396161e6effba7e788c3fc3cb55263 (patch) | |
tree | fc00b89d05b40fadd9dba80fe8c31fc316a605eb /net/ceph/debugfs.c | |
parent | 10db634e2083a202a26123d6d4c9ede98d6a1199 (diff) | |
download | linux-ec7af97258396161e6effba7e788c3fc3cb55263.tar.bz2 |
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 'net/ceph/debugfs.c')
0 files changed, 0 insertions, 0 deletions