]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita6481bd8159c0763b060936c547f88ef713cfaab
tree136efed002c9fbbdf97bfe9a666fb1c1cc244e8c
parent9a162bb2c9a035f2338609b3d291d6fbef29a81b
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