From: Alex Elder Date: Mon, 15 Apr 2013 19:50:36 +0000 (-0500) Subject: libceph: clean up osd data field access functions X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~26^2~87 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=863c7eb590c154c7c2cfac40914f5bedcad1a166;p=pandora-kernel.git libceph: clean up osd data field access functions There are a bunch of functions defined to encapsulate getting the address of a data field for a particular op in an osd request. They're all defined the same way, so create a macro to take the place of all of them. Two of these are used outside the osd client code, so preserve them (but convert them to use the new macro internally). Stop exporting the ones that aren't used elsewhere. Signed-off-by: Alex Elder Reviewed-by: Josh Durgin --- Reading git-diff-tree failed