libceph: make pgid_cmp() global
authorIlya Dryomov <idryomov@gmail.com>
Thu, 28 Apr 2016 14:07:23 +0000 (16:07 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 25 May 2016 22:36:25 +0000 (00:36 +0200)
commitf984cb76cc5fb9fc76d6abb6c4694a5412e3f49b
treee9f60522c2a91fddceaca57bd8c45e6e67f7db9e
parentf81f16339a05775df600b2ff75a79be1864975c1
libceph: make pgid_cmp() global

calc_target() code is going to need to know how to compare PGs.  Take
lhs and rhs pgid by const * while at it.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
include/linux/ceph/osdmap.h
net/ceph/osdmap.c