From: Alex Elder Date: Wed, 11 Jul 2012 13:24:45 +0000 (-0500) Subject: libceph: define ceph_extract_encoded_string() X-Git-Tag: v3.6-rc1~36^2~71 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8c36c58accd5c53a472b5c289910565b3df9f9d;p=pandora-kernel.git libceph: define ceph_extract_encoded_string() This adds a new utility routine which will return a dynamically- allocated buffer containing a string that has been decoded from ceph over-the-wire format. It also returns the length of the string if the address of a size variable is supplied to receive it. Signed-off-by: Alex Elder Reviewed-by: Sage Weil --- Reading git-diff-tree failed