libceph: add ceph_pg_pool_by_id()
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:40 +0000 (23:57 +0200)
commitce7f6a2790464047199f54b66420243d433142bd
tree0d6dcda977b09de07607382a4687b2ac2e6f7914
parent1b3f2ab51095a7aab684bf9f5c14235126188dbc
libceph: add ceph_pg_pool_by_id()

"Lookup pool info by ID" function is hidden in osdmap.c.  Expose it to
the rest of libceph.

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