libceph: define ceph_osd_data_length()
authorAlex Elder <elder@inktank.com>
Wed, 3 Apr 2013 06:28:58 +0000 (01:28 -0500)
committerSage Weil <sage@inktank.com>
Thu, 2 May 2013 04:18:09 +0000 (21:18 -0700)
commit23c08a9cb2d832cd1d2b7ccdb54d0ab7b8518933
treef01927eae415d71c0a984c1f2e87fa923f51e6ec
parentc54d47bfadce7059af0774d80b2b3faaea4afd28
libceph: define ceph_osd_data_length()

One more osd data helper, which returns the length of the
data item, regardless of its type.

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
net/ceph/osd_client.c