libceph: define ceph_decode_pgid() only once
authorAlex Elder <elder@inktank.com>
Mon, 1 Apr 2013 23:58:26 +0000 (18:58 -0500)
committerSage Weil <sage@inktank.com>
Thu, 2 May 2013 04:17:52 +0000 (21:17 -0700)
There are two basically identical definitions of __decode_pgid()
in libceph, one in "net/ceph/osdmap.c" and the other in
"net/ceph/osd_client.c".  Get rid of both, and instead define
a single inline version in "include/linux/ceph/osdmap.h".

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>

No differences found