libceph: ceph_decode_skip_* helpers
authorIlya Dryomov <idryomov@gmail.com>
Wed, 21 Jun 2017 15:27:17 +0000 (17:27 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Fri, 7 Jul 2017 15:25:18 +0000 (17:25 +0200)
commit278b1d709c6acc6f7d138fed775c76695b068e43
treeb09bfb75761ff13c956e310834c34e25e34576ba
parentab75144be08cfc1d80f49e9c37970fcadb1215a2
libceph: ceph_decode_skip_* helpers

Some of these won't be as efficient as they could be (e.g.
ceph_decode_skip_set(... 32 ...) could advance by len * sizeof(u32)
once instead of advancing by sizeof(u32) len times), but that's fine
and not worth a bunch of extra macro code.

Replace skip_name_map() with ceph_decode_skip_map as an example.

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