]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
OSDMap: remove get_pg_primary() function
authorGreg Farnum <greg@inktank.com>
Fri, 13 Dec 2013 21:28:42 +0000 (13:28 -0800)
committerGreg Farnum <greg@inktank.com>
Thu, 16 Jan 2014 00:33:05 +0000 (16:33 -0800)
commitc1a95f83acd0fd9ea141d0354c17ce8a51dfa817
tree1de7f954ea140fa956f29f1c1143abc28afeab28
parent7a9c1712f421f28fb8ce82309b67c7e18378390b
OSDMap: remove get_pg_primary() function

This was used only by SyntheticClient, and that wants get_pg_acting_primary()
anyway. Delete the easily-misused get_pg_primary() and switch.

Signed-off-by: Greg Farnum <greg@inktank.com>
src/client/SyntheticClient.cc
src/osd/OSDMap.h