summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2017-07-25 14:40:03 +0200
committerIlya Dryomov <idryomov@gmail.com>2017-08-01 16:46:31 +0200
commit986e89898acb3d8f750f259a90cb73afca426b58 (patch)
treea4705d5fefe0618e34d5f91166e35ca5fccdb967 /samples
parent16f73eb02d7e1765ccab3d2018e0bd98eb93d973 (diff)
downloadlinux-986e89898acb3d8f750f259a90cb73afca426b58.tar.bz2
libceph: make encode_request_*() work with r_mempool requests
Messages allocated out of ceph_msgpool have a fixed front length (pool->front_len). Asserting that the entire front has been filled while encoding is thus wrong. Fixes: 8cb441c0545d ("libceph: MOSDOp v8 encoding (actual spgid + full hash)") Reported-by: "Yan, Zheng" <zyan@redhat.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com> Reviewed-by: "Yan, Zheng" <zyan@redhat.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions