From: Alex Elder Date: Mon, 1 Apr 2013 23:58:26 +0000 (-0500) Subject: libceph: define ceph_decode_pgid() only once X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~26^2~148 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef4859d6479d19bcc65c3156cf3b7dd747355c29;p=pandora-kernel.git 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 Reviewed-by: Josh Durgin --- Reading git-diff-tree failed