libceph: switch ceph_calc_pg_acting() to new helpers
authorIlya Dryomov <ilya.dryomov@inktank.com>
Mon, 24 Mar 2014 15:12:48 +0000 (17:12 +0200)
committerSage Weil <sage@inktank.com>
Sat, 5 Apr 2014 04:08:13 +0000 (21:08 -0700)
commitac972230e20581b044f5ce66dcaf3c5af8d57444
tree67395848522feb71f23079f8a950a73f3b7e7c29
parent45966c3467e8291382a8970adbd78403a7818d45
libceph: switch ceph_calc_pg_acting() to new helpers

Switch ceph_calc_pg_acting() to new helpers: pg_to_raw_osds(),
raw_to_up_osds() and apply_temps().

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