libceph: redo ceph_calc_pg_primary() in terms of ceph_calc_pg_acting()
authorIlya Dryomov <ilya.dryomov@inktank.com>
Mon, 24 Mar 2014 15:12:49 +0000 (17:12 +0200)
committerSage Weil <sage@inktank.com>
Sat, 5 Apr 2014 04:08:19 +0000 (21:08 -0700)
commitc4c1228525a2cbf9e06657b01135391700c1ec14
tree5e267ec7530a19d566a8700e20c926a5c45d102f
parent47ec1f3cc46dde00deb34922dbffdeda254ad76d
libceph: redo ceph_calc_pg_primary() in terms of ceph_calc_pg_acting()

Reimplement ceph_calc_pg_primary() in terms of ceph_calc_pg_acting()
and get rid of the now unused calc_pg_raw().

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