Skip to content
Commit c9ed51c9 authored by Ilya Dryomov's avatar Ilya Dryomov
Browse files

libceph: change ceph_pagelist_encode_string() to take u32



The wire format dictates that the length of string fits into 4 bytes.
Take u32 instead of size_t to reflect that.

We were already truncating len in ceph_pagelist_encode_32() -- this
just pushes that truncation one level up.

Signed-off-by: default avatarIlya Dryomov <idryomov@gmail.com>
parent 6d54228f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment