commit | ef4859d6479d19bcc65c3156cf3b7dd747355c29 | [log] [tgz] |
---|---|---|
author | Alex Elder <elder@inktank.com> | Mon Apr 01 18:58:26 2013 -0500 |
committer | Sage Weil <sage@inktank.com> | Wed May 01 21:17:52 2013 -0700 |
tree | 83a977e35c7dd32834d707f93173c1e00da06384 | |
parent | 8058fd45039724695d5b67a574544452635d64a9 [diff] |
libceph: define ceph_decode_pgid() only once 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>