diff options
author | Ilya Dryomov <idryomov@gmail.com> | 2016-04-28 16:07:23 +0200 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2016-05-26 00:36:25 +0200 |
commit | f984cb76cc5fb9fc76d6abb6c4694a5412e3f49b (patch) | |
tree | e9f60522c2a91fddceaca57bd8c45e6e67f7db9e /include | |
parent | f81f16339a05775df600b2ff75a79be1864975c1 (diff) | |
download | linux-f984cb76cc5fb9fc76d6abb6c4694a5412e3f49b.tar.bz2 |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/ceph/osdmap.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/ceph/osdmap.h b/include/linux/ceph/osdmap.h index 3fd978a1639b..7783237ab06c 100644 --- a/include/linux/ceph/osdmap.h +++ b/include/linux/ceph/osdmap.h @@ -24,6 +24,8 @@ struct ceph_pg { uint32_t seed; }; +int ceph_pg_compare(const struct ceph_pg *lhs, const struct ceph_pg *rhs); + #define CEPH_POOL_FLAG_HASHPSPOOL 1 struct ceph_pg_pool_info { |