libceph: add start en/decoding block helpers
authorIlya Dryomov <idryomov@gmail.com>
Thu, 2 Jun 2016 12:23:32 +0000 (14:23 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 28 Jul 2016 00:55:36 +0000 (02:55 +0200)
commit22748f9d617b8cd0a915c3a4c656c7232645b3b5
treeac7e69c40236ad60fe923bd97391bc151df23c12
parent281dbe5db81c6137def9757e07a7aea14b1ed86e
libceph: add start en/decoding block helpers

Add ceph_start_encoding() and ceph_start_decoding(), the equivalent of
ENCODE_START and DECODE_START in the userspace ceph code.

This is based on a patch from Mike Christie <michaelc@cs.wisc.edu>.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
include/linux/ceph/decode.h