]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
libceph: introduce decode{,_new}_pg_temp() and switch to them
authorIlya Dryomov <ilya.dryomov@inktank.com>
Fri, 21 Mar 2014 17:05:28 +0000 (19:05 +0200)
committerSage Weil <sage@inktank.com>
Sat, 5 Apr 2014 04:07:53 +0000 (21:07 -0700)
commit10db634e2083a202a26123d6d4c9ede98d6a1199
treeb4ea2a78c91e8a9a1aa07344ffad0874ec078efc
parent4d60351f9089ef0f39d73c0b6a103e61fc0ed187
libceph: introduce decode{,_new}_pg_temp() and switch to them

Consolidate pg_temp (full map, map<pg_t, vector<u32>>) and new_pg_temp
(inc map, same) decoding logic into a common helper and switch to it.

Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
Reviewed-by: Alex Elder <elder@linaro.org>
net/ceph/osdmap.c