libceph: replace ceph_calc_ceph_pg() with ceph_oloc_oid_to_pg()
authorIlya Dryomov <ilya.dryomov@inktank.com>
Mon, 27 Jan 2014 15:40:19 +0000 (17:40 +0200)
committerIlya Dryomov <ilya.dryomov@inktank.com>
Mon, 27 Jan 2014 21:57:32 +0000 (23:57 +0200)
commit7c13cb64352230deac24d3cb058387a6c0676f83
tree136efed002c9fbbdf97bfe9a666fb1c1cc244e8c
parent4295f2217a5aa8ef2738e3a368db3c1ceab41212
libceph: replace ceph_calc_ceph_pg() with ceph_oloc_oid_to_pg()

Switch ceph_calc_ceph_pg() to new oloc and oid abstractions and rename
it to ceph_oloc_oid_to_pg() to make its purpose more clear.

Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
fs/ceph/ioctl.c
include/linux/ceph/osdmap.h
net/ceph/osd_client.c
net/ceph/osdmap.c